File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ with stat :=
130130 | stat_label : string -> stat -> stat
131131 | stat_block : list stat -> stat
132132 | stat_var_decl : list (string * option expr) -> stat
133+ | stat_let_decl : list (string * option expr) -> stat
133134 | stat_if : expr -> stat -> option stat -> stat
134135 | stat_do_while : label_set -> stat -> expr -> stat
135136 | stat_while : label_set -> expr -> stat -> stat
@@ -141,6 +142,7 @@ with stat :=
141142 | stat_try : stat -> option (string * stat) -> option stat -> stat (* Note: try s1 [catch (x) s2] [finally s3] *)
142143 | stat_for : label_set -> option expr -> option expr -> option expr -> stat -> stat (* Note: for (e1; e2; e3) stat *)
143144 | stat_for_var : label_set -> list (string * option expr) -> option expr -> option expr -> stat -> stat (* Note: for (var ...; e2; e3) stat *)
145+ | stat_for_let : label_set -> list (string * option expr) -> option expr -> option expr -> stat -> stat (* Note: for (let ...; e2; e3) stat *)
144146 | stat_for_in : label_set -> expr -> expr -> stat -> stat (* Note: for (e1 in e2) stat *)
145147 | stat_for_in_var : label_set -> string -> option expr -> expr -> stat -> stat (* Note: for (var x [= e1] in e2) stat *)
146148 | stat_debugger : stat
You can’t perform that action at this time.
0 commit comments