diff options
| author | Kathy Gray | 2015-02-13 15:50:51 +0000 |
|---|---|---|
| committer | Kathy Gray | 2015-02-13 15:50:51 +0000 |
| commit | f0bc412fa3b9f3f2b6131fe5322d4916730efac1 (patch) | |
| tree | 31ab6d211354d8850526166a1f0ff612c05e0e51 /language/l2.lem | |
| parent | 7531d3dec300e9251f3abd6d57fc3a3464edf1c1 (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.lem')
| -rw-r--r-- | language/l2.lem | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/language/l2.lem b/language/l2.lem index a4bc2545..86b947b5 100644 --- a/language/l2.lem +++ b/language/l2.lem @@ -256,7 +256,8 @@ and exp_aux 'a = (* Expression *) | E_assign of (lexp 'a) * (exp 'a) (* imperative assignment *) | E_exit of (exp 'a) (* expression to halt all current execution, potentially calling a system, trap, or interrupt handler with exp *) | E_internal_cast of annot 'a * (exp 'a) (* This is an internal cast, generated during type checking that will resolve into a syntactic cast after *) - | E_internal_exp of annot 'a (* This is an internal use of an nexp (in the annot) for passing length information after resolution of constraints *) + | E_internal_exp of annot 'a (* This is an internal use for passing nexp information to library functions, postponed for constraint solving *) + | E_internal_exp_user of annot 'a * annot 'a (* This is like the above but the user has specified an implicit parameter for the current function *) and exp 'a = | E_aux of (exp_aux 'a) * annot 'a |
