[PATCH] D68002: [emacs] simplify and improve keyword highlighting in tablegen-mode.el

Bob Haarman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 11:14:07 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL372904: [emacs] simplify and improve keyword highlighting in tablegen-mode.el (authored by inglorion, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D68002?vs=221647&id=221808#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68002/new/

https://reviews.llvm.org/D68002

Files:
  llvm/trunk/utils/emacs/tablegen-mode.el


Index: llvm/trunk/utils/emacs/tablegen-mode.el
===================================================================
--- llvm/trunk/utils/emacs/tablegen-mode.el
+++ llvm/trunk/utils/emacs/tablegen-mode.el
@@ -39,10 +39,9 @@
 
      '("^[ \t]*\\(@.+\\)" 1 'td-decorators-face)
      ;; Keywords
-     (cons (concat kw "[ \n\t(]") 1)
-
+     kw
      ;; Type keywords
-     (cons (concat type-kw "[ \n\t(]") 1)
+     type-kw
      ))
   "Additional expressions to highlight in TableGen mode.")
 (put 'tablegen-mode 'font-lock-defaults '(tablegen-font-lock-keywords))


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68002.221808.patch
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190925/41df9921/attachment.bin>


More information about the llvm-commits mailing list