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:
parent
fff1d0f06c
commit
ae590e26ed
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
* ====================================================================== */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue