aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq-syntax.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2009-09-10 21:32:27 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2009-09-10 21:32:27 +0000
commit2b6245b95e19144e192d7fa3290e4aa6a500b7bb (patch)
tree19f7d9f8d9ca123da3a4a958764afdbc3996b056 /coq/coq-syntax.el
parentfa5ab22e50afb88abc34258679990abfea4c19bd (diff)
Fix compilation for Coq, including requires and some old/renamed settings.
Diffstat (limited to 'coq/coq-syntax.el')
-rw-r--r--coq/coq-syntax.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/coq/coq-syntax.el b/coq/coq-syntax.el
index e6467a87..a0427dfa 100644
--- a/coq/coq-syntax.el
+++ b/coq/coq-syntax.el
@@ -889,6 +889,15 @@ Used by `coq-goal-command-p'"
;; marche aussi a peu pres
;; (concat "\\(with\\)\\s-+\\(" coq-id "\\)\\s-*\\([^(.]*:\\|.*)[^(.]*:=\\)"))
;;"\\<Prop\\>\\|\\<Set\\>\\|\\<Type\\>"
+
+(defconst coq-require-command-regexp
+ (concat "Require\\s-+\\(" proof-id "\\)")
+ "Regular expression matching Require commands in Coq.
+Group number 1 matches the name of the library which is required.")
+
+;;
+;; font-lock
+;;
(defvar coq-font-lock-keywords-1
(append
coq-font-lock-terms