Fixed issue with catching matches without spaces
This commit is contained in:
parent
f546e2e016
commit
13359a79cd
|
@ -203,7 +203,7 @@ rewrite(void)
|
|||
char c, last = 0, *cap, *s = src_;
|
||||
while(*s == ' ') s++;
|
||||
while((c = *s)) {
|
||||
if(spacer(last)) {
|
||||
if(c == '(' || spacer(last)) {
|
||||
Rule *r = NULL;
|
||||
/* phase: rule */
|
||||
if(c == '<' && s[1] == '>') {
|
||||
|
|
Loading…
Reference in New Issue