summaryrefslogtreecommitdiff
path: root/language/l2.lem
diff options
context:
space:
mode:
authorKathy Gray2014-07-14 15:12:18 +0100
committerKathy Gray2014-07-14 15:12:18 +0100
commitca08c98c36a11e9c80c35e616347d26a0426a3c6 (patch)
tree9c1d2ab2880c177bcdda2a899d9cc1288f4f6131 /language/l2.lem
parente482abd733622647f97b4ebecc6cefeb6b1fccee (diff)
Initial support for aliases and exit through the type system and the interpreter.
An alias can be read within the interpreter, but not written to. Exits aren't yet taken in the interpreter.
Diffstat (limited to 'language/l2.lem')
-rw-r--r--language/l2.lem1
1 files changed, 1 insertions, 0 deletions
diff --git a/language/l2.lem b/language/l2.lem
index e3a52dfa..60b566a9 100644
--- a/language/l2.lem
+++ b/language/l2.lem
@@ -510,6 +510,7 @@ type tag = (* Data indicating where the identifier arises and thus information
| Tag_default (* Type has come from default declaration, identifier may not be bound locally *)
| Tag_spec
| Tag_enum
+ | Tag_alias
type t = (* Internal types *)