summaryrefslogtreecommitdiff
path: root/language/l2.ml
diff options
context:
space:
mode:
authorKathy Gray2015-02-13 15:50:51 +0000
committerKathy Gray2015-02-13 15:50:51 +0000
commitf0bc412fa3b9f3f2b6131fe5322d4916730efac1 (patch)
tree31ab6d211354d8850526166a1f0ff612c05e0e51 /language/l2.ml
parent7531d3dec300e9251f3abd6d57fc3a3464edf1c1 (diff)
Actually use new dependency information in generation of lem/etc.
Also stop rewriting code in the pretty printer, instead move it all into a new general rewriting pass
Diffstat (limited to 'language/l2.ml')
-rw-r--r--language/l2.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/language/l2.ml b/language/l2.ml
index ab0e7b66..dc96020d 100644
--- a/language/l2.ml
+++ b/language/l2.ml
@@ -264,7 +264,8 @@ type
| E_assign of 'a lexp * 'a exp (* imperative assignment *)
| E_exit of 'a exp (* expression to halt all current execution, potentially calling a system, trap, or interrupt handler with exp *)
| E_internal_cast of 'a annot * 'a exp (* This is an internal cast, generated during type checking that will resolve into a syntactic cast after *)
- | E_internal_exp of 'a annot (* This is an internal use of an nexp (in the annot) for passing length information after resolution of constraints *)
+ | E_internal_exp of 'a annot (* This is an internal use for passing nexp information to library functions, postponed for constraint solving *)
+ | E_internal_exp_user of 'a annot * 'a annot (* This is like the above but the user has specified an implicit parameter for the current function *)
and 'a exp =
E_aux of 'a exp_aux * 'a annot