[llvm-branch-commits] [llvm] [emacs] Rework tablegen mode (PR #182076)
Krzysztof Drewniak via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Feb 18 15:03:01 PST 2026
================
@@ -13,40 +15,37 @@
;; Create mode-specific tables.
;;; Code:
-(defvar td-decorators-face 'td-decorators-face
+(defface tablegen-decorators-face
+ '((t :inherit font-lock-function-call-face))
"Face method decorators.")
-(make-face 'td-decorators-face)
(defvar tablegen-font-lock-keywords
(let ((kw (regexp-opt '("class" "defm" "def" "field" "include" "in"
- "let" "multiclass" "foreach" "if" "then" "else"
- "defvar" "defset" "dump" "assert")
+ "let" "multiclass" "foreach" "if" "then" "else"
+ "defvar" "defset" "dump" "assert")
'words))
(type-kw (regexp-opt '("bit" "bits" "code" "dag" "int" "list" "string")
- 'words))
- )
- (list
- ;; Comments
----------------
krzysz00 wrote:
It was commented out anyway - though maybe it shouldn't've been
https://github.com/llvm/llvm-project/pull/182076
More information about the llvm-branch-commits
mailing list