diff options
| author | herbelin | 2010-03-30 18:31:37 +0000 |
|---|---|---|
| committer | herbelin | 2010-03-30 18:31:37 +0000 |
| commit | e7d037bf195e02a3a17d34ab7bd08f0e12689664 (patch) | |
| tree | 248ad4607e4203adc623d4e992b5a8750c3e5f37 /toplevel | |
| parent | c0e397fca7fd2f150c68ab043fd8fdd15db5bcdf (diff) | |
Small improvements around coqdoc (including fix for bug #2288)
- Local Definitions were considered Global Definitions in globalization file
(bug #2288) [I made them "var" which makes them indexed like
Variables, should we have an extra category just for Let's?]
- the syntax of "[[" was not properly enforced in parse-comments mode
- improved documentation of a few vernac file of the library
- fixed a bug in Makefile.doc leading to build a bigger and bigger
Library.pdf file
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12894 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel')
| -rw-r--r-- | toplevel/vernacentries.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toplevel/vernacentries.ml b/toplevel/vernacentries.ml index c077fc4924..d77257a0b7 100644 --- a/toplevel/vernacentries.ml +++ b/toplevel/vernacentries.ml @@ -308,7 +308,8 @@ let start_proof_and_print k l hook = if !pcoq <> None then (Option.get !pcoq).start_proof () let vernac_definition (local,boxed,k) (loc,id as lid) def hook = - Dumpglob.dump_definition lid false "def"; + if local = Local then Dumpglob.dump_definition lid true "var" + else Dumpglob.dump_definition lid false "def"; (match def with | ProveBody (bl,t) -> (* local binders, typ *) let hook _ _ = () in |
