From 4981d928ef34191c7c0822a20449ea76816b85b3 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 9 Dec 2022 22:33:08 +0100 Subject: [PATCH] typo --- parser.mly | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.mly b/parser.mly index 5c96a3d..27471ab 100644 --- a/parser.mly +++ b/parser.mly @@ -38,7 +38,7 @@ instr: /* type v = e */ | t = Ltype ; v = Lvar ; Lassign ; e = expr - { [ Decl { name = v ; type_t = t ; pos = $startpos(t) } + { [ Decl { name = v ; type_t = t ; pos = $startpos(t) } ; Assign { var = v ; expr = e ; pos = $startpos(v) } ] }