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--;
|
||||
while(r < rules_) {
|
||||
char *ss = s, *a = r->a;
|
||||
while(*ss++ == *a++)
|
||||
if(!*a) return r;
|
||||
if(a)
|
||||
while(*ss++ == *a++)
|
||||
if(!*a) return r;
|
||||
r++;
|
||||
}
|
||||
return r;
|
||||
|
|
Loading…
Reference in New Issue