Added support for anonymous bit-fields.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2003-02-27 17:21:48 +00:00
commit ae590e26ed

View file

@ -2956,6 +2956,7 @@ cpp_member : c_declaration { $$ = $1; }
| cpp_catch_decl { $$ = 0; }
| template_directive { $$ = $1; }
| warn_directive { $$ = $1; }
| anonymous_bitfield { $$ = 0; }
| SEMI { $$ = 0; }
;
@ -3258,6 +3259,8 @@ cpp_vend : cpp_const SEMI {
;
anonymous_bitfield : storage_class type COLON NUM_INT SEMI { };
/* ======================================================================
* PRIMITIVES
* ====================================================================== */