Removed extra check during match

This commit is contained in:
Devine Lu Linvega 2024-04-08 09:15:51 -07:00
parent 04bf0f67d4
commit e87950292d
1 changed files with 1 additions and 1 deletions

View File

@ -58,8 +58,8 @@ match(char *p, Rule *r)
if(c == '?') {
if(!bind(*(++a), b)) return NULL;
a++, b = walk(b);
continue;
}
if(!*a && spacer(*b)) return b;
if(*a != *b) return NULL;
a++, b++;
}