[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/cobol-mode 5290d35 8/8: * cobol-mode.el: Fix misreprese
From: |
Stefan Monnier |
Subject: |
[elpa] externals/cobol-mode 5290d35 8/8: * cobol-mode.el: Fix misrepresenting variable |
Date: |
Sat, 28 Nov 2020 00:16:41 -0500 (EST) |
branch: externals/cobol-mode
commit 5290d358747f48f82ba09e610c4c0ff3f7cb4102
Author: Mattias EngdegÄrd <mattiase@acm.org>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* cobol-mode.el: Fix misrepresenting variable
(cobol--fixed-comment-indicators-re):
Rename to cobol--fixed-comment-indicators, since it is not a regexp.
(cobol--fixed-form-comment-re, cobol--non-fixed-comment-indicators-re):
Use new name.
---
cobol-mode.el | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/cobol-mode.el b/cobol-mode.el
index 226d00c..f7dcab8 100644
--- a/cobol-mode.el
+++ b/cobol-mode.el
@@ -1958,15 +1958,14 @@ The next key typed is executed unless it is SPC."
"^.\\{6\\}"
"Regexp matching a complete sequence area.")
-(defconst cobol--fixed-comment-indicators-re
- ;; FIXME: Confusing name and docstring: it's not a regexp!
+(defconst cobol--fixed-comment-indicators
"*/"
- "Regexp containing COBOL fixed-form comment indicators.")
+ "String containing COBOL fixed-form comment indicator characters.")
(defconst cobol--fixed-form-comment-re
(concat cobol--complete-sequence-area-re
"\\(["
- cobol--fixed-comment-indicators-re
+ cobol--fixed-comment-indicators
"]\\)")
"Regexp matching a fixed-form source comment.")
@@ -1976,7 +1975,7 @@ The next key typed is executed unless it is SPC."
"Regexp matching a continuation or debugging line indicator.")
(defconst cobol--non-fixed-comment-indicators-re
- (concat "[^" cobol--fixed-comment-indicators-re "]")
+ (concat "[^" cobol--fixed-comment-indicators "]")
"Regexp matching non-fixed-form-comment-indicator characters.")
(defconst cobol--fixed-non-comment-sequence-area-re
- [elpa] branch externals/cobol-mode created (now 5290d35), Stefan Monnier, 2020/11/28
- [elpa] externals/cobol-mode f6839ca 1/8: * packages/cobol-mode/cobol-mode.el: Fix copyright and maintainer, Stefan Monnier, 2020/11/28
- [elpa] externals/cobol-mode 3cc627e 5/8: * copyright_exceptions: Update for new uni-confusables/gen-confusables.el, Stefan Monnier, 2020/11/28
- [elpa] externals/cobol-mode 5290d35 8/8: * cobol-mode.el: Fix misrepresenting variable,
Stefan Monnier <=
- [elpa] externals/cobol-mode 7413c81 4/8: * cobol-mode/cobol-mode.el: Tweak syntax-propertize and use cl-lib, Stefan Monnier, 2020/11/28
- [elpa] externals/cobol-mode 1f5f80f 6/8: * cobol-mode.el (cobol--fixed-comment-indicators-re): Clarify regexp, Stefan Monnier, 2020/11/28
- [elpa] externals/cobol-mode f9718ac 2/8: * cobol-mode/cobol-mode.el: Fix compilation and heed the warnings, Stefan Monnier, 2020/11/28
- [elpa] externals/cobol-mode 56da646 3/8: * cobol-mode/cobol-mode.el: Misc tweaks; some from checkdoc, Stefan Monnier, 2020/11/28
- [elpa] externals/cobol-mode 7133670 7/8: * packages/cobol-mode/cobol-mode.el: Fix last change, Stefan Monnier, 2020/11/28