aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing/g_ltac.ml4
diff options
context:
space:
mode:
Diffstat (limited to 'parsing/g_ltac.ml4')
-rw-r--r--parsing/g_ltac.ml42
1 files changed, 1 insertions, 1 deletions
diff --git a/parsing/g_ltac.ml4 b/parsing/g_ltac.ml4
index 51480a956..1e57506df 100644
--- a/parsing/g_ltac.ml4
+++ b/parsing/g_ltac.ml4
@@ -92,7 +92,7 @@ GEXTEND Gram
;
match_pattern:
[ [ id = Constr.constr_pattern; "["; pc = Constr.constr_pattern; "]" ->
- let s = coerce_to_id id in Subterm (Some s, pc)
+ let (_,s) = coerce_to_id id in Subterm (Some s, pc)
| "["; pc = Constr.constr_pattern; "]" -> Subterm (None,pc)
| pc = Constr.constr_pattern -> Term pc ] ]
;