We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a129be commit 9d545d4Copy full SHA for 9d545d4
lib/tools/emacs/erlang.el
@@ -1224,8 +1224,8 @@ This must be placed in front of `erlang-font-lock-keywords-vars'.")
1224
1 'font-lock-type-face)
1225
;; Don't highlight numerical constants.
1226
(list (if erlang-regexp-modern-p
1227
- "\\_<[0-9]+#\\([0-9a-zA-Z]+\\)"
1228
- "\\<[0-9]+#\\([0-9a-zA-Z]+\\)")
+ "\\_<\\([0-9]+\\(_[0-9]+\\)*#[0-9a-zA-Z]+\\(_[0-9a-zA-Z]+\\)*\\)"
+ "\\<\\([0-9]+\\(_[0-9]+\\)*#[0-9a-zA-Z]+\\(_[0-9a-zA-Z]+\\)*\\)")
1229
1 nil t)
1230
(list (concat "^-record\\s-*(\\s-*" erlang-atom-regexp)
1231
1 'font-lock-type-face))
0 commit comments