summaryrefslogtreecommitdiff
path: root/src/lexer2.mll
diff options
context:
space:
mode:
authorAlasdair Armstrong2018-01-04 19:16:29 +0000
committerAlasdair Armstrong2018-01-04 19:16:29 +0000
commit8147deaf0bccdbb19d4c020583fc8a5c7b6197e8 (patch)
treeecd55a1ce077b0bc7de61ef6375560de2596cf6e /src/lexer2.mll
parent05c2d0f45dcc632a11b4868b04776c1916b41454 (diff)
Additional tests for ocaml backend
Diffstat (limited to 'src/lexer2.mll')
-rw-r--r--src/lexer2.mll1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lexer2.mll b/src/lexer2.mll
index 312183fa..e24de0d0 100644
--- a/src/lexer2.mll
+++ b/src/lexer2.mll
@@ -147,6 +147,7 @@ let kw_table =
("type", (fun x -> Typedef));
("undefined", (fun x -> Undefined));
("union", (fun x -> Union));
+ ("newtype", (fun x -> Newtype));
("with", (fun x -> With));
("val", (fun x -> Val));
("repeat", (fun _ -> Repeat));