Fixed compilation bug
This commit is contained in:
parent
0f576e8972
commit
f546e2e016
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue