Removed extra check during match
This commit is contained in:
parent
04bf0f67d4
commit
e87950292d
|
@ -58,8 +58,8 @@ match(char *p, Rule *r)
|
||||||
if(c == '?') {
|
if(c == '?') {
|
||||||
if(!bind(*(++a), b)) return NULL;
|
if(!bind(*(++a), b)) return NULL;
|
||||||
a++, b = walk(b);
|
a++, b = walk(b);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
if(!*a && spacer(*b)) return b;
|
|
||||||
if(*a != *b) return NULL;
|
if(*a != *b) return NULL;
|
||||||
a++, b++;
|
a++, b++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue