Fix test for macro nesting

master
Thomas Preud'homme 2014-04-07 21:12:08 +08:00
parent 3e9a7e9d69
commit c2422ba87f
1 changed files with 2 additions and 0 deletions

View File

@ -185,6 +185,8 @@ ST_FUNC Sym *sym_find2(Sym *s, int v)
while (s) {
if (s->v == v)
return s;
else if (s->v == -1)
return NULL;
s = s->prev;
}
return NULL;