summaryrefslogtreecommitdiff
path: root/src/ast_util.ml
diff options
context:
space:
mode:
authorAlasdair Armstrong2017-11-15 17:31:51 +0000
committerAlasdair Armstrong2017-11-15 17:31:51 +0000
commit74d2157a022ce0036a1513bd2dada5fb55b71719 (patch)
treed8befa5a63387301816db0367e24194b0e20bc9e /src/ast_util.ml
parentbb18d5067a46b9e71f57285abce41c1f89e87812 (diff)
parentab2b7e532247e03fc6c4e2ca0ccd139e7a4aca0f (diff)
Merge branch 'smt' into experiments
Diffstat (limited to 'src/ast_util.ml')
-rw-r--r--src/ast_util.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ast_util.ml b/src/ast_util.ml
index 5393bb81..aa3efc40 100644
--- a/src/ast_util.ml
+++ b/src/ast_util.ml
@@ -458,6 +458,7 @@ and string_of_nexp_aux = function
| Nexp_times (n1, n2) -> "(" ^ string_of_nexp n1 ^ " * " ^ string_of_nexp n2 ^ ")"
| Nexp_sum (n1, n2) -> "(" ^ string_of_nexp n1 ^ " + " ^ string_of_nexp n2 ^ ")"
| Nexp_minus (n1, n2) -> "(" ^ string_of_nexp n1 ^ " - " ^ string_of_nexp n2 ^ ")"
+ | Nexp_app (id, nexps) -> string_of_id id ^ "(" ^ string_of_list ", " string_of_nexp nexps ^ ")"
| Nexp_exp n -> "2 ^ " ^ string_of_nexp n
| Nexp_neg n -> "- " ^ string_of_nexp n