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++; }