Housekeeping

This commit is contained in:
Devine Lu Linvega 2024-04-24 13:49:21 -07:00
parent bcbfe02783
commit 9d4d20e542
1 changed files with 2 additions and 3 deletions

View File

@ -219,8 +219,7 @@ rewrite(void)
}
if(c == '?' && s[1] == '(') { /* lambda */
cap = walk(s + 1);
r = λ
compile_rule(r, -1, s + 2);
compile_rule(&lambda, -1, s + 2);
s = cap;
while(*s == ' ') s++;
return apply_rule(&lambda, s);