aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormsozeau2008-06-19 16:14:37 +0000
committermsozeau2008-06-19 16:14:37 +0000
commitf3375ecf605d51d1f06c0af5e1f10a3e1923bd02 (patch)
tree40989acf2bc7e9535d4d1cbdfe3d2a616d43ac03 /tools
parentb1b5741680e864c6c7d3d6a956e2f3779a52e683 (diff)
Little fixes: print unbound variable in error message (patch by Samuel
Bronson), some keywords in coqdoc, and test well-typedness of predicate in subtac_cases after abstraction. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11153 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tools')
-rw-r--r--tools/coqdoc/output.ml2
-rw-r--r--tools/coqdoc/pretty.mll2
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/coqdoc/output.ml b/tools/coqdoc/output.ml
index 067af63f2b..0522bbac08 100644
--- a/tools/coqdoc/output.ml
+++ b/tools/coqdoc/output.ml
@@ -42,7 +42,7 @@ let is_keyword =
"Mutual"; "Parameter"; "Parameters"; "Print"; "Proof"; "Qed";
"Record"; "Recursive"; "Remark"; "Require"; "Save"; "Scheme";
"Induction"; "for"; "Sort"; "Section"; "Show"; "Structure"; "Syntactic"; "Syntax"; "Tactic"; "Theorem";
- "Set"; "Unset"; "Variable"; "Variables";
+ "Set"; "Unset"; "Variable"; "Variables"; "Context";
"Notation"; "Reserved Notation"; "Tactic Notation";
"Delimit"; "Bind"; "Open"; "Scope";
"Boxed"; "Unboxed"; "Inline";
diff --git a/tools/coqdoc/pretty.mll b/tools/coqdoc/pretty.mll
index 36ed0472b2..d78aabbf93 100644
--- a/tools/coqdoc/pretty.mll
+++ b/tools/coqdoc/pretty.mll
@@ -1,3 +1,4 @@
+(* -*- compile-command: "make -C ../.. bin/coqdoc" -*- *)
(************************************************************************)
(* v * The Coq Proof Assistant / The Coq Development Team *)
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
@@ -246,6 +247,7 @@ let gallina_ext =
| "Tactic" space+ "Notation"
| "Reserved" space+ "Notation"
| "Section"
+ | "Context"
| "Variable" 's'?
| ("Hypothesis" | "Hypotheses")
| "End"