]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/grafite_parser/grafiteParser.ml
New syntax -H1 .. Hn for clear
[helm.git] / matita / components / grafite_parser / grafiteParser.ml
index bdd65f34dd2ac2e8c8f56994e1246c526d776ac2..5873d29c7a1ddbfeb2ccc45599c2e376772cf132 100644 (file)
@@ -218,6 +218,8 @@ EXTEND
         G.NTactic(loc,[G.NCases (loc, what, where)])
     | IDENT "change"; what = pattern_spec; "with"; with_what = tactic_term -> 
         G.NTactic(loc,[G.NChange (loc, what, with_what)])
+    | SYMBOL "-"; ids = LIST1 IDENT ->
+        G.NTactic(loc,[G.NClear (loc, ids)])
     | (*SYMBOL "^"*)PLACEHOLDER; num = OPT NUMBER; 
        l = OPT [ SYMBOL "{"; l = LIST1 tactic_term; SYMBOL "}" -> l ] -> 
         G.NTactic(loc,[G.NConstructor (loc, (match num with None -> None | Some x -> Some (int_of_string x)),match l with None -> [] | Some l -> l)])