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

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

[nongnu] elpa/julia-mode 96d6597 194/352: Fixing highlighting of long ch


From: ELPA Syncer
Subject: [nongnu] elpa/julia-mode 96d6597 194/352: Fixing highlighting of long character escape sequences.
Date: Sun, 29 Aug 2021 11:22:43 -0400 (EDT)

branch: elpa/julia-mode
commit 96d65974dd2286e6c24b001428d8f8b466b6a646
Author: Wilfred Hughes <me@wilfred.me.uk>
Commit: Yichao Yu <yyc1992@gmail.com>

    Fixing highlighting of long character escape sequences.
    
    Previously, '\U10ffff' was not highlighted correctly.
---
 julia-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/julia-mode.el b/julia-mode.el
index 3b6f030..1489c37 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -123,7 +123,7 @@ This function provides equivalent functionality, but makes 
no efforts to optimis
                     (syntax whitespace)
                     bol))
       (submatch "'"
-                (or (repeat 0 7 (not (any "'"))) (not (any "\\"))
+                (or (repeat 0 8 (not (any "'"))) (not (any "\\"))
                     "\\\\")
                 "'")))
 



reply via email to

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