Fixed issue with weird undefinitions
This commit is contained in:
parent
06f2cd4487
commit
8b618d2425
|
@ -196,8 +196,9 @@ 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;
|
||||||
while(*ss++ == *a++)
|
if(a)
|
||||||
if(!*a) return r;
|
while(*ss++ == *a++)
|
||||||
|
if(!*a) return r;
|
||||||
r++;
|
r++;
|
||||||
}
|
}
|
||||||
return r;
|
return r;
|
||||||
|
|
Loading…
Reference in New Issue