fix include within a structure - #1162194

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-10-06 23:02:45 +00:00
parent d277c06bdc
commit d102ce79b2
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,2 @@
int IntegerMember;
double DoubleMember;

View File

@ -3936,6 +3936,7 @@ cpp_members : cpp_member cpp_members {
appendChild($$,$4);
set_nextSibling($$,$6);
}
| include_directive { $$ = $1; }
| empty { $$ = 0;}
| error {
int start_line = cparse_line;