Fixed issue with weird undefinitions
This commit is contained in:
parent
06f2cd4487
commit
8b618d2425
|
@ -196,6 +196,7 @@ find_rule(char *s, char *cap)
|
||||||
if(*s == '(') s++, cap--;
|
if(*s == '(') s++, cap--;
|
||||||
while(r < rules_) {
|
while(r < rules_) {
|
||||||
char *ss = s, *a = r->a;
|
char *ss = s, *a = r->a;
|
||||||
|
if(a)
|
||||||
while(*ss++ == *a++)
|
while(*ss++ == *a++)
|
||||||
if(!*a) return r;
|
if(!*a) return r;
|
||||||
r++;
|
r++;
|
||||||
|
|
Loading…
Reference in New Issue