branch: externals/cobol-mode
commit 2428a0249d2059fadc7098d570fd79ed29f05b62
Author: Kristofer Hjelmtorp <kristo...@hjelmtorp.se>
Commit: Kristofer Hjelmtorp <kristo...@hjelmtorp.se>

    Fixed error indenting at bol with blank line
---
 cobol-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cobol-mode.el b/cobol-mode.el
index 7f1d353f07..7df6c873fe 100644
--- a/cobol-mode.el
+++ b/cobol-mode.el
@@ -2253,8 +2253,8 @@ Note that this matches DECLARATIVES.")
   "Regexp matching any declaration.")
 
 (defconst cobol--blank-line-re
-  (cobol--with-opt-whitespace-line "\\.?$")
-  "Regexp matching a blank line with optional period.")
+  (rx (** 0 6 any) (* (or " " "        ")) (? ".") eol)
+  "Regexp matching a non comment blank line with optional period.")
 
 ;;; Font lock
 

Reply via email to