From 18abf5662648d91c261e2c63d93b3201f0c4e652 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Thu, 4 Apr 2024 11:02:57 -0700 Subject: [PATCH] * --- src/modal.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/modal.c b/src/modal.c index 9f5c316..7042148 100644 --- a/src/modal.c +++ b/src/modal.c @@ -32,14 +32,7 @@ match(char *p, Rule *r) { char c, *a = r->a, *b = p; while((c = *a)) { - /* registers */ - if(c == '?') { - char cc; - int id = *(++a); - bind(id, b); - a++, b = walk(b); - printf("[%s][%s]\n", a, b); - } + if(c == '?') bind(*(++a), b), a++, b = walk(b), c = *b; if(c != *b) return 0; a++, b++; }