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

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

[nongnu] elpa/nasm-mode 2c87509 36/67: Correct boundaries in syntax high


From: ELPA Syncer
Subject: [nongnu] elpa/nasm-mode 2c87509 36/67: Correct boundaries in syntax highlighting.
Date: Sun, 29 Aug 2021 11:23:48 -0400 (EDT)

branch: elpa/nasm-mode
commit 2c87509895a904f2f25b0d14ebcf9e52636579da
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>

    Correct boundaries in syntax highlighting.
---
 nasm-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nasm-mode.el b/nasm-mode.el
index b84f192..2f108cf 100644
--- a/nasm-mode.el
+++ b/nasm-mode.el
@@ -541,13 +541,13 @@
   "Regexp for `nasm-mode' for matching labels.")
 
 (defconst nasm-constant-regexp
-  "\\_<$?[-+0-9][-+_0-9A-Fa-fHhXxDdTtQqOoBbYyeE.]*\\_>"
+  "\\<$?[-+]?[0-9][-+_0-9A-Fa-fHhXxDdTtQqOoBbYyeE.]*\\>"
   "Regexp for `nasm-mode' for matching numeric constants.")
 
 (defmacro nasm--opt (keywords)
   "Prepare KEYWORDS for `looking-at'."
   `(eval-when-compile
-     (regexp-opt ,keywords 'symbols)))
+     (regexp-opt ,keywords 'words)))
 
 (defconst nasm-imenu-generic-expression
   `((nil ,(concat "^\\s-*" nasm-label-regexp) 1)



reply via email to

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