Assign -1 id to lambdas

This commit is contained in:
Devine Lu Linvega 2024-04-10 13:14:51 -07:00
parent 0b2d71a4d9
commit 79eef78cbd
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ rewrite(void)
}
if(p[0] == '?' && p[1] == '(') {
Rule lambda;
lambda.id = -1;
p += 2, lambda.a = dict_, p = parse_frag(p), lambda.b = dict_, p = parse_frag(p);
p++;
while((c = *p) && c <= ' ') p++;