]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_disambiguation/cicTextualLexer2.ml
on is now a keyword (needed in let rec)
[helm.git] / helm / ocaml / cic_disambiguation / cicTextualLexer2.ml
index e67613091bd2937104ef3502e07a0e2a4198aaf5..32d8ae54da64d11ac23e7a0ce0b2fee899921911 100644 (file)
@@ -66,7 +66,7 @@ let keywords = Hashtbl.create 17
 let _ =
   List.iter (fun keyword -> Hashtbl.add keywords keyword ("", keyword))
     [ "Prop"; "Type"; "Set"; "let"; "Let"; "rec"; "using"; "match"; "with";
-      "in"; "and"; "to"; "as" ]
+    "in"; "and"; "to"; "as"; "on"]
 
 let error lexbuf msg =
   raise (Error (Ulexing.lexeme_start lexbuf, Ulexing.lexeme_end lexbuf, msg))