Fixed compilation bug

This commit is contained in:
Devine Lu Linvega 2024-04-26 08:54:05 -07:00
parent 0f576e8972
commit f546e2e016
1 changed files with 1 additions and 1 deletions

View File

@ -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;