Assign -1 id to lambdas
This commit is contained in:
parent
0b2d71a4d9
commit
79eef78cbd
|
@ -172,6 +172,7 @@ rewrite(void)
|
||||||
}
|
}
|
||||||
if(p[0] == '?' && p[1] == '(') {
|
if(p[0] == '?' && p[1] == '(') {
|
||||||
Rule lambda;
|
Rule lambda;
|
||||||
|
lambda.id = -1;
|
||||||
p += 2, lambda.a = dict_, p = parse_frag(p), lambda.b = dict_, p = parse_frag(p);
|
p += 2, lambda.a = dict_, p = parse_frag(p), lambda.b = dict_, p = parse_frag(p);
|
||||||
p++;
|
p++;
|
||||||
while((c = *p) && c <= ' ') p++;
|
while((c = *p) && c <= ' ') p++;
|
||||||
|
|
Loading…
Reference in New Issue