fix macro expansion issue reported by Andreas Held
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8811 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
29c7334a8f
commit
0ac2846b70
2 changed files with 22 additions and 1 deletions
|
|
@ -692,7 +692,7 @@ int yylook(void) {
|
|||
if (loc && (strncmp(loc,"@SWIG",4) == 0)&& (*(loc+Len(comment)-1) == '@')) {
|
||||
/* Locator */
|
||||
scanner_locator(comment);
|
||||
Clear(comment);
|
||||
yylen = 0;
|
||||
state = 0;
|
||||
} else {
|
||||
yylen = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue