aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-09-19 20:21:12 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-09-19 20:21:12 +0000
commit0c4a086210c6366c9ee1f091cc51ea5c92b5a903 (patch)
treeaf6f36155124a404e428c31102dac97311612021
parentf34625ec7bbd0b2b6e2ce02a978d089b47c152ba (diff)
Fixing bug #2389 (keyword "Declare Instance" unknown from "coqdoc -g") but
this lacks robustness since "coqdoc -g" will drop away any commands unknown from coqdoc, leading to possible synchronisation problems. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13440 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--tools/coqdoc/cpretty.mll1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/coqdoc/cpretty.mll b/tools/coqdoc/cpretty.mll
index 7ff4af714..c018e66e3 100644
--- a/tools/coqdoc/cpretty.mll
+++ b/tools/coqdoc/cpretty.mll
@@ -324,6 +324,7 @@ let def_token =
| "CoInductive"
| "Equations"
| "Instance"
+ | "Declare" space+ "Instance"
| "Global" space+ "Instance"
let decl_token =