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

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

[nongnu] elpa/scala-mode 280bff9 037/217: fix hex literal highlighting


From: ELPA Syncer
Subject: [nongnu] elpa/scala-mode 280bff9 037/217: fix hex literal highlighting
Date: Sun, 29 Aug 2021 11:30:39 -0400 (EDT)

branch: elpa/scala-mode
commit 280bff996f825fdea01798666712904fb762c2c9
Author: Erik Osheim <d_m@plastic-idolatry.com>
Commit: Heikki Vesalainen <heikkivesalainen@yahoo.com>

    fix hex literal highlighting
---
 scala-mode-syntax.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scala-mode-syntax.el b/scala-mode-syntax.el
index 665741a..ec2f743 100644
--- a/scala-mode-syntax.el
+++ b/scala-mode-syntax.el
@@ -51,9 +51,9 @@
 (defconst scala-syntax:hexNumeral-re (concat "0x[" scala-syntax:hexDigit-group 
"]+"))
 (defconst scala-syntax:octalNumeral-re (concat "0[" 
scala-syntax:octalDigit-group "]+"))
 (defconst scala-syntax:integerLiteral-re (concat "-?" ;; added from definition 
of literal
-                                                 "\\(" 
scala-syntax:decimalNumeral-re
-                                                 "\\|" 
scala-syntax:hexNumeral-re
+                                                 "\\(" 
scala-syntax:hexNumeral-re
                                                  "\\|" 
scala-syntax:octalNumeral-re
+                                                 "\\|" 
scala-syntax:decimalNumeral-re
                                                  "\\)[Ll]?"))
 
 



reply via email to

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