From 13a2eed50200d8922af0ff882295bcad0800c21a Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sun, 1 Jun 2003 22:08:24 +0000 Subject: bug fix: a regex was missing a '-' --- misc/mixal-mode.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/misc/mixal-mode.el b/misc/mixal-mode.el index 1cb46e6..32ad41d 100644 --- a/misc/mixal-mode.el +++ b/misc/mixal-mode.el @@ -46,6 +46,8 @@ ;;; History: ;; Version 0.1: +;; Version 0.1.1: +;; 22/11/02: bugfix in fontlocking, needed to add a '-' to the regex. ;; 19/11/02: completed implementing mixal-describe-operation-code. ;; 13/11/02: implemented compile, mixal-run and mixal-debug. ;; 10/11/02: implemented font-locking and syntax table. @@ -120,7 +122,7 @@ value.") (,(regexp-opt mixal-assembly-pseudoinstructions 'words) . mixal-font-lock-assembly-pseudoinstruction-face) - ("^[A-Z0-9a-z]*[ \t]+[A-Z0-9a-z]+[ \t]+[A-Z0-9a-z,():]*[\t]+\\(.*\\)$" + ("^[A-Z0-9a-z]*[ \t]+[A-Z0-9a-z]+[ \t]+[\\-A-Z0-9a-z,():]*[\t]+\\(.*\\)$" (1 font-lock-comment-face))) "Keyword highlighting specification for `mixal-mode'.") ; (makunbound 'mixal-font-lock-keywords) -- cgit v1.2.3