]> matita.cs.unibo.it Git - helm.git/commitdiff
Bad name should be an error and not just a warning.
authorAndrea Asperti <andrea.asperti@unibo.it>
Fri, 15 Jul 2005 11:18:23 +0000 (11:18 +0000)
committerAndrea Asperti <andrea.asperti@unibo.it>
Fri, 15 Jul 2005 11:18:23 +0000 (11:18 +0000)
helm/matita/matitaEngine.ml

index 94efb904f4a9da6685225c612673edb9c4a0f30f..c3a8be67d3d6c1a3f2e90b246c18f252925c0907 100644 (file)
@@ -542,7 +542,7 @@ let eval_command opts status cmd =
      | Cic.CurrentProof (_,metasenv',bo,ty,_,_) ->
          let name = UriManager.name_of_uri uri in
          if not(CicPp.check name ty) then
-           MatitaLog.warn ("Bad name: " ^ name);
+           MatitaLog.error ("Bad name: " ^ name);
          if opts.do_heavy_checks then
            begin
              let dbd = MatitaDb.instance () in