summaryrefslogtreecommitdiff
path: root/language
diff options
context:
space:
mode:
authorAlasdair Armstrong2018-03-08 18:14:44 +0000
committerAlasdair Armstrong2018-03-09 17:44:13 +0000
commit9570bf932e3ba0269cbed06a49fc8000b45b32a3 (patch)
treeb3f56057b891392c9de3b57e6e6c305a80635b33 /language
parentfccf018feecf914c937dc4cc253a882f482943f2 (diff)
Specialise constructors for polymorphic unions
Also work on making C backend compile RISC-V
Diffstat (limited to 'language')
-rw-r--r--language/bytecode.ott1
1 files changed, 1 insertions, 0 deletions
diff --git a/language/bytecode.ott b/language/bytecode.ott
index 30c9195f..bd60072a 100644
--- a/language/bytecode.ott
+++ b/language/bytecode.ott
@@ -93,6 +93,7 @@ ctyp :: 'CT_' ::=
| vector ( bool , ctyp ) :: :: vector
| list ( ctyp ) :: :: list
% A vector type for non-bit vectors, and a list type.
+ | ref ( ctyp ) :: :: ref
cval :: 'CV_' ::=
{{ ocaml fragment * ctyp }}