From 9d4d20e5423adf7da9e9eaefaa44250a16086c1c Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Wed, 24 Apr 2024 13:49:21 -0700 Subject: [PATCH] Housekeeping --- src/modal.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/modal.c b/src/modal.c index 740cd9a..d6546bd 100644 --- a/src/modal.c +++ b/src/modal.c @@ -213,14 +213,13 @@ rewrite(void) Rule *r = NULL; if(c == '<' && s[1] == '>') { /* rule */ r = rules_++; - s = compile_rule(r,rules_ - rules - 1, s + 2); + s = compile_rule(r, rules_ - rules - 1, s + 2); while(*s == ' ') s++; return write_rule(r, s, 1); } if(c == '?' && s[1] == '(') { /* lambda */ cap = walk(s + 1); - r = λ - compile_rule(r, -1, s + 2); + compile_rule(&lambda, -1, s + 2); s = cap; while(*s == ' ') s++; return apply_rule(&lambda, s);