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

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

[nongnu] elpa/nasm-mode af3d935 61/67: Allow directive names as labels (


From: ELPA Syncer
Subject: [nongnu] elpa/nasm-mode af3d935 61/67: Allow directive names as labels (font-locking)
Date: Sun, 29 Aug 2021 11:23:53 -0400 (EDT)

branch: elpa/nasm-mode
commit af3d9352a678eac61961f795dae158d9085353d3
Author: Charlie Green <geek0795@gmail.com>
Commit: Christopher Wellons <wellons@nullprogram.com>

    Allow directive names as labels (font-locking)
---
 nasm-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nasm-mode.el b/nasm-mode.el
index f577dfa..fbc1dfd 100644
--- a/nasm-mode.el
+++ b/nasm-mode.el
@@ -572,11 +572,11 @@ This includes prefixes or modifiers (eg \"mov\", \"rep 
mov\", etc match)")
     (,(nasm--opt nasm-prefix) . 'nasm-prefix)
     (,(nasm--opt nasm-types) . 'nasm-types)
     (,(nasm--opt nasm-instructions) . 'nasm-instructions)
-    (,(nasm--opt nasm-directives) . 'nasm-directives)
     (,(nasm--opt nasm-pp-directives) . 'nasm-preprocessor)
     (,(concat "^\\s-*" nasm-nonlocal-label-rexexp) (1 'nasm-labels))
     (,(concat "^\\s-*" nasm-local-label-regexp) (1 'nasm-local-labels))
-    (,nasm-constant-regexp . 'nasm-constant))
+    (,nasm-constant-regexp . 'nasm-constant)
+    (,(nasm--opt nasm-directives) . 'nasm-directives))
   "Keywords for `nasm-mode'.")
 
 (defconst nasm-mode-syntax-table



reply via email to

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