From 67c3c6604f4e7ed28559a7f5b28272e22b7417e9 Mon Sep 17 00:00:00 2001 From: Dmitry Boulytchev Date: Wed, 24 Jan 2024 17:48:05 +0300 Subject: [PATCH] Fixed parser L3 --- L3/L3.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/L3/L3.ml b/L3/L3.ml index 3ebaecb..840099e 100644 --- a/L3/L3.ml +++ b/L3/L3.ml @@ -304,7 +304,7 @@ module Parser = primary: let_expr; let_expr: - "let" x:LIDENT "=" e:expr "in" f:seq_expr {Program.Let (x, e, f)} + "let" x:LIDENT "=" e:expr "in" f:let_expr {Program.Let (x, e, f)} | seq_expr; seq_expr: s:!(Util.listBy)[ostap (";")][call_expr] {