aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/ltac/g_ltac.ml4
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-01-17 15:45:43 +0100
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-04-24 23:58:23 +0200
commit84eb5cd72a015c45337a5a6070c5651f56be6e74 (patch)
tree6a54fa82bd711f37fa21f56dcce4591f9474b55c /plugins/ltac/g_ltac.ml4
parentbf13037e9ca39da28fb648e5488ce56ef8a1f1e2 (diff)
[location] Use located in tactics.
One case missing due the TACTIC EXTEND macro.
Diffstat (limited to 'plugins/ltac/g_ltac.ml4')
-rw-r--r--plugins/ltac/g_ltac.ml44
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ltac/g_ltac.ml4 b/plugins/ltac/g_ltac.ml4
index dffd90be3..d6cbd8db1 100644
--- a/plugins/ltac/g_ltac.ml4
+++ b/plugins/ltac/g_ltac.ml4
@@ -161,7 +161,7 @@ GEXTEND Gram
| st = simple_tactic -> st
| a = tactic_arg -> TacArg(!@loc,a)
| r = reference; la = LIST0 tactic_arg_compat ->
- TacArg(!@loc,TacCall (!@loc,r,la)) ]
+ TacArg(!@loc, TacCall (!@loc,(r,la))) ]
| "0"
[ "("; a = tactic_expr; ")" -> a
| "["; ">"; (tf,tail) = tactic_then_gen; "]" ->
@@ -219,7 +219,7 @@ GEXTEND Gram
;
tactic_atom:
[ [ n = integer -> TacGeneric (genarg_of_int n)
- | r = reference -> TacCall (!@loc,r,[])
+ | r = reference -> TacCall (!@loc,(r,[]))
| "()" -> TacGeneric (genarg_of_unit ()) ] ]
;
match_key: