Print right statement during undefinition

This commit is contained in:
Devine Lu Linvega 2024-04-27 11:05:50 -07:00
parent d03f359f4c
commit 3d01efe11a
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ rewrite(void)
while(*s == ' ') s++;
cap = walk(s), r = find_rule(s, cap);
if(!quiet && r->a)
printf(">< "), echo_rule(r, r->a), putc('\n', stdout);
printf(">< "), echo_rule(r, r->a), echo_rule(r, r->b), putc('\n', stdout);
r->a = 0;
while(*cap == ' ') cap++;
return write_tail(cap);