Fixes whitespace bug
This commit is contained in:
parent
44e809f092
commit
88649fce12
|
@ -146,8 +146,10 @@ write_rule(Rule *r, char last, char *res)
|
|||
put_reg(*b++);
|
||||
else
|
||||
*dst_++ = c, last = c;
|
||||
if(dst_ == origin)
|
||||
if(dst_ == origin) {
|
||||
if(*res == ')') dst_--;
|
||||
while(*res == ' ') res++;
|
||||
}
|
||||
return commit_rule(r, res, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue