Skip to content

Commit

Permalink
Fixed parser L3
Browse files Browse the repository at this point in the history
  • Loading branch information
dboulytchev committed Jan 24, 2024
1 parent 31cdbde commit 67c3c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion L3/L3.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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] {
Expand Down

0 comments on commit 67c3c66

Please sign in to comment.