Do not continue after lambda rewrite

This commit is contained in:
Devine Lu Linvega 2024-04-22 20:13:19 -07:00
parent ba48cfffa6
commit 701d2c43a5
1 changed files with 4 additions and 4 deletions

View File

@ -183,10 +183,10 @@ rewrite(void)
r->a = dict_, s = parse_frag(s + 2);
r->b = dict_, parse_frag(s), s = cap;
while(*s == ' ') s++;
r = rules;
} else
r = rules + 1;
for(; r < rules_; r++)
return run_rule(r, s);
}
for(r = rules + 1; r < rules_; r++)
if(run_rule(r, s)) return 1;
}
*dst_++ = last = c;