Fixed issue in undefinition

This commit is contained in:
Devine Lu Linvega 2024-04-26 21:35:31 -07:00
parent 541e8937b0
commit f3d16b4bd6
1 changed files with 2 additions and 2 deletions

View File

@ -228,9 +228,9 @@ rewrite(void)
} }
/* phase: undefine */ /* phase: undefine */
if(c == '>' && s[1] == '<') { if(c == '>' && s[1] == '<') {
s += 2, cap = walk(s); s += 2;
while(*s == ' ') s++; while(*s == ' ') s++;
r = find_rule(s, cap), r->a = 0; cap = walk(s), r = find_rule(s, cap), r->a = 0;
if(!quiet && r->a) fprintf(stderr, ">< (%s)\n", r->a); if(!quiet && r->a) fprintf(stderr, ">< (%s)\n", r->a);
while(*cap == ' ') cap++; while(*cap == ' ') cap++;
return write_rule(NULL, cap); return write_rule(NULL, cap);