diff options
Diffstat (limited to 'pretyping/pattern.ml')
| -rw-r--r-- | pretyping/pattern.ml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pretyping/pattern.ml b/pretyping/pattern.ml index f423777d9b..66125bfeb0 100644 --- a/pretyping/pattern.ml +++ b/pretyping/pattern.ml @@ -50,10 +50,6 @@ type constr_label = | IndNode of inductive_path | CstrNode of constructor_path | VarNode of identifier - | SectionVarNode of section_path -(* - | ... -*) exception BoundPattern;; @@ -61,7 +57,7 @@ let label_of_ref = function | ConstRef sp -> ConstNode sp | IndRef sp -> IndNode sp | ConstructRef sp -> CstrNode sp - | VarRef sp -> SectionVarNode sp + | VarRef sp -> VarNode (basename sp) let rec head_pattern_bound t = match t with |
