summaryrefslogtreecommitdiff
path: root/caml/CMlexer.mll
diff options
context:
space:
mode:
Diffstat (limited to 'caml/CMlexer.mll')
-rw-r--r--caml/CMlexer.mll2
1 files changed, 2 insertions, 0 deletions
diff --git a/caml/CMlexer.mll b/caml/CMlexer.mll
index b8d3ae7..49d0dbd 100644
--- a/caml/CMlexer.mll
+++ b/caml/CMlexer.mll
@@ -20,6 +20,7 @@ rule token = parse
| blank + { token lexbuf }
| "/*" { comment lexbuf; token lexbuf }
| "absf" { ABSF }
+ | "alloc" { ALLOC }
| "&" { AMPERSAND }
| "&&" { AMPERSANDAMPERSAND }
| "!" { BANG }
@@ -38,6 +39,7 @@ rule token = parse
| "==f" { EQUALEQUALF }
| "==u" { EQUALEQUALU }
| "exit" { EXIT }
+ | "extern" { EXTERN }
| "float" { FLOAT }
| "float32" { FLOAT32 }
| "float64" { FLOAT64 }