From f3d16b4bd646ee95365c5e38a92ba81bc450a509 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Fri, 26 Apr 2024 21:35:31 -0700 Subject: [PATCH] Fixed issue in undefinition --- src/modal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modal.c b/src/modal.c index 7b3dcdd..21f0f64 100644 --- a/src/modal.c +++ b/src/modal.c @@ -228,9 +228,9 @@ rewrite(void) } /* phase: undefine */ if(c == '>' && s[1] == '<') { - s += 2, cap = walk(s); + s += 2; 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); while(*cap == ' ') cap++; return write_rule(NULL, cap);