]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/grafite_parser/grafiteParser.ml
new tactic constructor: @[n]
[helm.git] / helm / software / components / grafite_parser / grafiteParser.ml
index c92e3175f45d9f84d80aa4c88df4272db669a2bb..8232aa672abda946479f7d75ab9ed44275b49005 100644 (file)
@@ -253,6 +253,9 @@ EXTEND
         G.NCases (loc, what, where)
     | IDENT "nchange"; what = pattern_spec; "with"; with_what = tactic_term -> 
         G.NChange (loc, what, with_what)
+    | SYMBOL "@"; num = OPT NUMBER -> 
+        G.NConstructor (loc,
+           match num with None -> None | Some x -> Some (int_of_string x))
     | IDENT "nelim"; what = tactic_term ; where = pattern_spec ->
         G.NElim (loc, what, where)
     | IDENT "ngeneralize"; p=pattern_spec ->