Lambda should not print when application fail

This commit is contained in:
Devine Lu Linvega 2024-05-10 09:52:03 -07:00
parent 3cbd3d196d
commit e3316d6cbe
1 changed files with 1 additions and 4 deletions

View File

@ -292,10 +292,7 @@ rewrite(void)
parse_frag(&r->b, parse_frag(&r->a, s + 2)); parse_frag(&r->b, parse_frag(&r->a, s + 2));
s = cap; s = cap;
while(*s == ' ') s++; while(*s == ' ') s++;
if(r->a && !apply_rule(r, s)) { if(r->a && !apply_rule(r, s)) write_tail(s);
if(!quiet) fprintf(stderr, "%02d %s\n", r->id, src_), ++r->refs;
write_tail(s);
}
dict_ = d; dict_ = d;
return 1; return 1;
} }