diff options
| author | herbelin | 2001-09-14 19:11:06 +0000 |
|---|---|---|
| committer | herbelin | 2001-09-14 19:11:06 +0000 |
| commit | af731fbb7f6fb76158c1980eddcc185a7e5e630d (patch) | |
| tree | b35420ddb385f1ae43646188b8e7fa2565fc5497 /pretyping/pattern.ml | |
| parent | d0634cb5b698a73c20697aa012ec10d9335d353a (diff) | |
Correction confusion VarNode/SectionVarNode (d'où bug Hints Unfold nom_local)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1970 85f007b7-540e-0410-9357-904b9bb8a0f7
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 |
