]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/cic_disambiguation/number_notation.ml
Quick hack: matita natural numbers are now accepted by the parser/disambiguator.
[helm.git] / helm / software / components / cic_disambiguation / number_notation.ml
index 2b3ce2d601a351ae4bc81628afb6b58e9c049792..781deb90e210629c60c26cd75ca192f790c90191 100644 (file)
@@ -28,6 +28,9 @@
 let _ =
   DisambiguateChoices.add_num_choice
     ("natural number",
+      (fun _ num _ -> LibraryObjects.build_nat (int_of_string num)));
+  DisambiguateChoices.add_num_choice
+    ("Coq natural number",
       (fun _ num _ -> HelmLibraryObjects.build_nat (int_of_string num)));
   DisambiguateChoices.add_num_choice
     ("real number",