aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq-indent.el
diff options
context:
space:
mode:
authorGravatar Pierre Courtieu <courtieu@lri.fr>2011-06-10 14:55:53 +0000
committerGravatar Pierre Courtieu <courtieu@lri.fr>2011-06-10 14:55:53 +0000
commit0779f6631f2db022f37aace50b2747be2d70a744 (patch)
tree13e2fa0f6c31f9eaf62163a1f2214243e59a5a40 /coq/coq-indent.el
parentf64240abecf2fad75e3cc05759961bbce4cb4ddd (diff)
Fix trac #410.
Diffstat (limited to 'coq/coq-indent.el')
-rw-r--r--coq/coq-indent.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/coq/coq-indent.el b/coq/coq-indent.el
index 8892b696..5425003b 100644
--- a/coq/coq-indent.el
+++ b/coq/coq-indent.el
@@ -92,7 +92,7 @@ detect if they start something or not."
;; ". " and "... " are command endings, ".. " is not, same as in
;; proof-script-command-end-regexp in coq.el
(defconst coq-end-command-regexp
- "\\(?2:[^.]\\|\\.\\.\\)?\\(?1:\\.\\)\\(?3:\\s-\\|\\'\\)\\|\\(?1:{\\)\\(?3:[^|]\\)\\|\\(?2:[^|]\\)\\(?1:}\\)"
+ "\\(?2:[^.]\\|\\.\\.\\)\\(?1:\\.\\)\\(?3:\\s-\\|\\'\\)\\|\\(?1:{\\)\\(?3:[^|]\\)\\|\\(?2:[^|]\\)\\(?1:}\\)"
"Regexp matching end of a command. There are 3 substrings:
* number 1 is the real coq ending string,
* number 2 is the left context matched that is not part of the ending string