summaryrefslogtreecommitdiff
path: root/src/interpreter.ml
diff options
context:
space:
mode:
authorAlasdair Armstrong2019-06-04 15:18:27 +0100
committerAlasdair Armstrong2019-06-04 15:19:17 +0100
commit727abfbae118d9cdf8d8b47b080a5453cecf9c7d (patch)
tree7e4fab806ef984f0aa9bb3505d4dcbd1a3d1b281 /src/interpreter.ml
parent15d455f388075db4dcccb5c348e9cd725124b318 (diff)
SMT: Add a fuzzing tool for the SMT builtins
Diffstat (limited to 'src/interpreter.ml')
-rw-r--r--src/interpreter.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interpreter.ml b/src/interpreter.ml
index db4f45f6..def0963f 100644
--- a/src/interpreter.ml
+++ b/src/interpreter.ml
@@ -549,7 +549,7 @@ let rec step (E_aux (e_aux, annot) as orig_exp) =
wrap (E_block (E_aux (E_assign (lexp, exp), annot) :: body))
| E_var (lexp, exp, body) ->
wrap (E_block [E_aux (E_assign (lexp, exp), annot); body])
-
+
| E_assign (lexp, exp) when not (is_value exp) -> step exp >>= fun exp' -> wrap (E_assign (lexp, exp'))
| E_assign (LEXP_aux (LEXP_memory (id, args), _), exp) -> wrap (E_app (id, args @ [exp]))
| E_assign (LEXP_aux (LEXP_field (lexp, id), ul), exp) ->