branch: elpa/nasm-mode commit af3d9352a678eac61961f795dae158d9085353d3 Author: Charlie Green <geek0...@gmail.com> Commit: Christopher Wellons <well...@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