emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/cobol-mode 533d2e999f: Support for font-lock on UTF-8 l


From: ELPA Syncer
Subject: [elpa] externals/cobol-mode 533d2e999f: Support for font-lock on UTF-8 literals
Date: Sun, 29 Sep 2024 15:57:45 -0400 (EDT)

branch: externals/cobol-mode
commit 533d2e999fc0e555ccc5819365122c3850620a7e
Author: Kristofer Hjelmtorp <kristofer@hjelmtorp.se>
Commit: Kristofer Hjelmtorp <kristofer@hjelmtorp.se>

    Support for font-lock on UTF-8 literals
---
 cobol-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cobol-mode.el b/cobol-mode.el
index 61e455c0b1..3447321a93 100644
--- a/cobol-mode.el
+++ b/cobol-mode.el
@@ -2149,12 +2149,12 @@ Note that this matches DECLARATIVES.")
   "Regexp matching the declaration of a file.")
 
 (defconst cobol--pic-type-re
-  
"PIC\\(TURE\\)?\\(\\s-+IS\\)?\\s-+\\(\\([-$*+,./[:digit:]()ABENPSVXZ]\\|CR\\|DB\\)+?\\)\\(\\s-\\|\\.?
+  
"PIC\\(TURE\\)?\\(\\s-+IS\\)?\\s-+\\(\\([-$*+,./[:digit:]()ABENPSUVXZ]\\|CR\\|DB\\)+?\\)\\(\\s-\\|\\.?
 \\)"
   "Regexp matching the PICTURE clause of a variable.")
 
 (defconst cobol--string-literal-type-re
-  "\\([ZBN]X?\\|[GHLX]\\)\\(\"\\|\'\\)"
+  "\\([ZBNU]X?\\|[GHLX]\\)\\(\"\\|\'\\)"
   "Regexp matching the type of a string-style literal.")
 
 (defconst cobol--function-call-re



reply via email to

[Prev in Thread] Current Thread [Next in Thread]