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:
Marcelo Matus 2006-02-13 08:55:06 +00:00
commit 0ac2846b70
2 changed files with 22 additions and 1 deletions

View file

@ -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;