]> matita.cs.unibo.it Git - helm.git/blobdiff - components/cic_disambiguation/number_notation.ml
1. More localization: interpretation errors are now loosely localized.
[helm.git] / components / cic_disambiguation / number_notation.ml
index 781deb90e210629c60c26cd75ca192f790c90191..78135d9bef9abcf129b2c19a0d52ee3ace492aef 100644 (file)
@@ -40,7 +40,7 @@ let _ =
       (fun _ num _ ->
         let num = int_of_string num in
         if num = 0 then
-          raise (DisambiguateTypes.Invalid_choice (lazy "0 is not a valid positive number"))
+          raise (DisambiguateTypes.Invalid_choice (None, lazy "0 is not a valid positive number"))
         else
           HelmLibraryObjects.build_bin_pos num));
   DisambiguateChoices.add_num_choice