aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpboutill2012-05-09 12:24:54 +0000
committerpboutill2012-05-09 12:24:54 +0000
commite925e66c67eb0ff62b26fa4bc5694ea03a573ad9 (patch)
tree6e1043d7f13c2c8e6178165c9c4b8da9d90a6062
parent2afe2ccce5446d9b22156e5cbfba16ab2078b245 (diff)
Tactic unfold always asks for comma between names.
Else the parser takes "at" as a constant to unfold in "unfold plus at ...". git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15290 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--parsing/g_tactic.ml42
1 files changed, 1 insertions, 1 deletions
diff --git a/parsing/g_tactic.ml4 b/parsing/g_tactic.ml4
index 79783fd3fa..8b72a5e93f 100644
--- a/parsing/g_tactic.ml4
+++ b/parsing/g_tactic.ml4
@@ -349,7 +349,7 @@ GEXTEND Gram
| IDENT "lazy"; s = strategy_flag -> Lazy s
| IDENT "compute"; delta = delta_flag -> Cbv (all_with delta)
| IDENT "vm_compute"; po = OPT pattern_occ -> CbvVm po
- | IDENT "unfold"; ul = LIST1 unfold_occ -> Unfold ul
+ | IDENT "unfold"; ul = LIST1 unfold_occ SEP "," -> Unfold ul
| IDENT "fold"; cl = LIST1 constr -> Fold cl
| IDENT "pattern"; pl = LIST1 pattern_occ SEP"," -> Pattern pl
| s = IDENT -> ExtraRedExpr s ] ]