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:
parent
d277c06bdc
commit
d102ce79b2
2 changed files with 3 additions and 0 deletions
2
Examples/test-suite/inctest.h
Normal file
2
Examples/test-suite/inctest.h
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
int IntegerMember;
|
||||||
|
double DoubleMember;
|
||||||
|
|
@ -3936,6 +3936,7 @@ cpp_members : cpp_member cpp_members {
|
||||||
appendChild($$,$4);
|
appendChild($$,$4);
|
||||||
set_nextSibling($$,$6);
|
set_nextSibling($$,$6);
|
||||||
}
|
}
|
||||||
|
| include_directive { $$ = $1; }
|
||||||
| empty { $$ = 0;}
|
| empty { $$ = 0;}
|
||||||
| error {
|
| error {
|
||||||
int start_line = cparse_line;
|
int start_line = cparse_line;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue