From f546e2e0162944bd491ac16a12f608d770547932 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Fri, 26 Apr 2024 08:54:05 -0700 Subject: [PATCH] Fixed compilation bug --- src/modal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modal.c b/src/modal.c index df2cbaf..e15a050 100644 --- a/src/modal.c +++ b/src/modal.c @@ -174,7 +174,7 @@ compile_rule(Rule *r, int id, char *src) while(src < cap) { c = *src, *dict_++ = *src++; if(c == '?') { - c = *src, reg = find_register(r, c); + c = *src++, reg = find_register(r, c); if(reg == -1 && c != '(') r->reg[r->ptr] = c, reg = r->ptr++; *dict_++ = '0' + reg;