aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2010-09-22 09:56:59 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2010-09-22 09:56:59 +0000
commiteb6f017f823ff323570a76941e69218fbd07de8d (patch)
treec348d97df7259a991a00ba1fc48f667593fb2bbc /generic
parent97c62745bd410daff598e03d797da4b67af033f3 (diff)
Fix some bugs in coq regexp generation
Diffstat (limited to 'generic')
-rw-r--r--generic/proof-syntax.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/proof-syntax.el b/generic/proof-syntax.el
index accd41de..84b5940d 100644
--- a/generic/proof-syntax.el
+++ b/generic/proof-syntax.el
@@ -42,6 +42,10 @@ Uses a regexp of the form \\_<...\\_>."
regexp "\\)")))
res))
+(defsubst proof-regexp-alt-list (args)
+ "Return the regexp which matches any of the regexps ARGS."
+ (apply 'proof-regexp-alt args))
+
(defsubst proof-re-search-forward-region (startre endre)
"Search for a region delimited by regexps STARTRE and ENDRE.
Return the start position of the match for STARTRE, or