Do not pick up on varibles when part of words
This commit is contained in:
parent
931d43ea9c
commit
9c9814d6f7
|
@ -138,10 +138,10 @@ write_rule(Rule *r, char last, char *res)
|
|||
char cc, *b = r->b;
|
||||
if(!*b && last == ' ') outp_--;
|
||||
while((cc = *b++))
|
||||
if(cc == '?')
|
||||
if(spacer(last) && cc == '?')
|
||||
put_reg(*b++);
|
||||
else
|
||||
*outp_++ = cc;
|
||||
*outp_++ = cc, last = cc;
|
||||
return commit_rule(r, res, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue