aboutsummaryrefslogtreecommitdiff
path: root/plugins/decl_mode/decl_interp.ml
diff options
context:
space:
mode:
authorpboutill2011-07-22 13:26:27 +0000
committerpboutill2011-07-22 13:26:27 +0000
commit2145319442699bb3a2ab0158ea702fa2558a5150 (patch)
tree9003e71012236a26a7aa8ea583f92ab8ad93de45 /plugins/decl_mode/decl_interp.ml
parent3bc1612a8b3a7c5ab52c3cd68cc1670b916438c0 (diff)
Add a syntax entry for fully applied constructor pattern
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14292 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins/decl_mode/decl_interp.ml')
-rw-r--r--plugins/decl_mode/decl_interp.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/decl_mode/decl_interp.ml b/plugins/decl_mode/decl_interp.ml
index a2b889fe03..64aa08ff2b 100644
--- a/plugins/decl_mode/decl_interp.ml
+++ b/plugins/decl_mode/decl_interp.ml
@@ -93,7 +93,7 @@ let rec add_vars_of_simple_pattern globs = function
(UserError ("simple_pattern",str "\"(_ | _)\" is not allowed here"))
| CPatDelimiters (_,_,p) ->
add_vars_of_simple_pattern globs p
- | CPatCstr (_,_,pl) ->
+ | CPatCstr (_,_,pl) | CPatCstrExpl (_,_,pl) ->
List.fold_left add_vars_of_simple_pattern globs pl
| CPatNotation(_,_,(pl,pll)) ->
List.fold_left add_vars_of_simple_pattern globs (List.flatten (pl::pll))