Fix test for macro nesting
This commit is contained in:
parent
3e9a7e9d69
commit
c2422ba87f
1 changed files with 2 additions and 0 deletions
2
tccgen.c
2
tccgen.c
|
@ -185,6 +185,8 @@ ST_FUNC Sym *sym_find2(Sym *s, int v)
|
||||||
while (s) {
|
while (s) {
|
||||||
if (s->v == v)
|
if (s->v == v)
|
||||||
return s;
|
return s;
|
||||||
|
else if (s->v == -1)
|
||||||
|
return NULL;
|
||||||
s = s->prev;
|
s = s->prev;
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in a new issue