[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master a2911f6: * cobol-mode.el: Fix misrepresenting variable
From: |
Mattias Engdegård |
Subject: |
[elpa] master a2911f6: * cobol-mode.el: Fix misrepresenting variable |
Date: |
Sat, 13 Apr 2019 04:18:44 -0400 (EDT) |
branch: master
commit a2911f6b9ef0355e427b82b674b0fcf3e9744e49
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>
* 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.
---
packages/cobol-mode/cobol-mode.el | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/packages/cobol-mode/cobol-mode.el
b/packages/cobol-mode/cobol-mode.el
index 226d00c..f7dcab8 100644
--- a/packages/cobol-mode/cobol-mode.el
+++ b/packages/cobol-mode/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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] master a2911f6: * cobol-mode.el: Fix misrepresenting variable,
Mattias Engdegård <=