Unified · Split
| @@ -185,6 +185,8 @@ ST_FUNC Sym *sym_find2(Sym *s, int v) · 184 unmodified lines | |||
| 185 | while (s) { | 185 | while (s) { |
| 186 | if (s->v == v) | 186 | if (s->v == v) |
| 187 | return s; | 187 | return s; |
| 188 | else if (s->v == -1) | ||
| 189 | return NULL; | ||
| 188 | s = s->prev; | 190 | s = s->prev; |
| 189 | } | 191 | } |
| 190 | return NULL; | 192 | return NULL; |