INFINITE KNOWLEDGE, prepend discovered

This commit is contained in:
Benson Chu 2025-08-12 09:50:17 -05:00
parent 909e194396
commit 7ff5c97122

View file

@ -44,8 +44,11 @@
(add-to-list 'llvm-font-lock-keywords
`(,(regexp-opt '("nnan" "ninf" "nsz" "arcp" "contract" "afn" "reassoc" "fast") 'symbols) . 'shadow)))
(defvar llvm-ir-dump-regexp
(rx line-start (optional (any "#;") " ") "*** IR Dump" (+ nonl) "***" (optional ":") "\n"))
(add-to-list 'llvm-font-lock-keywords
`(,(rx line-start (optional (any "#;") " ") "***" (+ nonl) "***" (optional ":") "\n") . 'llvm-separator-face))
`(,llvm-ir-dump-regexp 0 'llvm-separator-face prepend))
(-->
"\\b[-]?[0-9]+\\b"