]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_disambiguation/cicTextualParser2.ml
The discriminate tactic accepts a term, not only an identifier!
[helm.git] / helm / ocaml / cic_disambiguation / cicTextualParser2.ml
index 086c307873bd1fc87aaa8c09d6910ac640d5d5bb..737673e143f45949ebec70a2cbb23ac434662ce9 100644 (file)
@@ -368,8 +368,8 @@ EXTEND
       principles = ident_list1; where = IDENT ->
         TacticAst.Decompose (loc, where, principles)
     | [ IDENT "discriminate" ];
-      hyp = IDENT ->
-        TacticAst.Discriminate (loc, hyp)
+      t = tactic_term ->
+        TacticAst.Discriminate (loc, t)
     | [ IDENT "elimType" ]; t = tactic_term ->
         TacticAst.ElimType (loc, t)
     | [ IDENT "elim" ];