From 79eef78cbdc4cf5d9e1efe5b48e947fdbd2b5d74 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Wed, 10 Apr 2024 13:14:51 -0700 Subject: [PATCH] Assign -1 id to lambdas --- src/modal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modal.c b/src/modal.c index 72154c4..e2f9a1d 100644 --- a/src/modal.c +++ b/src/modal.c @@ -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++;