Fixed issue with weird undefinitions

This commit is contained in:
Devine Lu Linvega 2024-04-26 22:07:53 -07:00
parent 06f2cd4487
commit 8b618d2425
1 changed files with 3 additions and 2 deletions

View File

@ -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++;