branch: elpa/scala-mode commit 280bff996f825fdea01798666712904fb762c2c9 Author: Erik Osheim <d...@plastic-idolatry.com> Commit: Heikki Vesalainen <heikkivesalai...@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]?"))