Do not continue after lambda rewrite
This commit is contained in:
parent
ba48cfffa6
commit
701d2c43a5
|
@ -183,10 +183,10 @@ rewrite(void)
|
||||||
r->a = dict_, s = parse_frag(s + 2);
|
r->a = dict_, s = parse_frag(s + 2);
|
||||||
r->b = dict_, parse_frag(s), s = cap;
|
r->b = dict_, parse_frag(s), s = cap;
|
||||||
while(*s == ' ') s++;
|
while(*s == ' ') s++;
|
||||||
r = rules;
|
return run_rule(r, s);
|
||||||
} else
|
}
|
||||||
r = rules + 1;
|
|
||||||
for(; r < rules_; r++)
|
for(r = rules + 1; r < rules_; r++)
|
||||||
if(run_rule(r, s)) return 1;
|
if(run_rule(r, s)) return 1;
|
||||||
}
|
}
|
||||||
*dst_++ = last = c;
|
*dst_++ = last = c;
|
||||||
|
|
Loading…
Reference in New Issue