[Lsb-messages] /var/www/bzr/lsb/devel/libtodb2 r40: Don't skip all type declarations that are members.

Jeff Licquia licquia at linuxfoundation.org
Wed Oct 9 14:44:19 UTC 2013


------------------------------------------------------------
revno: 40
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: libtodb2
timestamp: Wed 2013-10-09 10:44:19 -0400
message:
  Don't skip all type declarations that are members.
  
  Not sure why this was originally done, but since all typedefs are now
  parsed as members of a namespace, this effectively disables inclusion
  of certain typedefs, such as "typedef enum".
modified:
  headertodb2/treeparser2.pm
-------------- next part --------------
=== modified file 'headertodb2/treeparser2.pm'
--- a/headertodb2/treeparser2.pm	2012-08-27 20:31:06 +0000
+++ b/headertodb2/treeparser2.pm	2013-10-09 14:44:19 +0000
@@ -542,7 +542,6 @@
     {
         if (is_decl_func($node) or is_decl_type($node) or is_decl_var($node))
         {
-            next if (is_decl_type($node) and is_member($node));
             ($header, $order) = val_src($node);
 
             if (defined($header{$header}))



More information about the lsb-messages mailing list