aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormsozeau2009-12-01 16:36:52 +0000
committermsozeau2009-12-01 16:36:52 +0000
commitda882cfdac822da8d53e8c11b4a890e1643901ad (patch)
treee6cccb3c121feeefa0e26ef4b287fa334dbe5256 /tools
parent0780de3f579681aa80e5e353d3aaeeaa418f2369 (diff)
Fix make_exact_entry to allow applying [forall x, P x] hints directly,
avoiding the introduction of eta-redexes. Prioritize hints over intros in typeclass resolution to profit from that. Add a minor fix in coqdoc by F. Garillot. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12550 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tools')
-rw-r--r--tools/coqdoc/cpretty.mll4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/coqdoc/cpretty.mll b/tools/coqdoc/cpretty.mll
index 4742a2e5dd..4f1406cc83 100644
--- a/tools/coqdoc/cpretty.mll
+++ b/tools/coqdoc/cpretty.mll
@@ -184,10 +184,10 @@
let check_start_list str =
let n_dashes = count_dashes str in
let (n_spaces,_) = count_spaces str in
- if n_dashes >= 4 then
+ if n_dashes >= 4 && not !Cdglobals.plain_comments then
Rule
else
- if n_dashes = 1 then
+ if n_dashes = 1 && not !Cdglobals.plain_comments then
List n_spaces
else
Neither