[llvm-commits] CVS: llvm/utils/emacs/llvm-mode.el
Chris Lattner
lattner at cs.uiuc.edu
Sat Oct 16 11:24:45 PDT 2004
Changes in directory llvm/utils/emacs:
llvm-mode.el updated: 1.14 -> 1.15
---
Log message:
Add support for undef and unreachable
---
Diffs of the changes: (+2 -2)
Index: llvm/utils/emacs/llvm-mode.el
diff -u llvm/utils/emacs/llvm-mode.el:1.14 llvm/utils/emacs/llvm-mode.el:1.15
--- llvm/utils/emacs/llvm-mode.el:1.14 Tue Sep 28 16:46:18 2004
+++ llvm/utils/emacs/llvm-mode.el Sat Oct 16 13:24:35 2004
@@ -25,7 +25,7 @@
;; Hex constants
'("0x[0-9A-Fa-f]+" . font-lock-preprocessor-face)
;; Keywords
- '("begin\\|end\\|true\\|false\\|zeroinitializer\\|declare\\|global\\|constant\\|const\\|internal\\|linkonce\\|weak\\|appending\\|uninitialized\\|implementation\\|\\.\\.\\.\\|null\\|to\\|except\\|not\\|target\\|endian\\|little\\|big\\|pointersize\\|deplibs\\|volatile" . font-lock-keyword-face)
+ '("begin\\|end\\|true\\|false\\|zeroinitializer\\|declare\\|global\\|constant\\|const\\|internal\\|linkonce\\|weak\\|appending\\|uninitialized\\|implementation\\|\\.\\.\\.\\|null\\|undef\\|to\\|except\\|not\\|target\\|endian\\|little\\|big\\|pointersize\\|deplibs\\|volatile" . font-lock-keyword-face)
;; Types
'("void\\|bool\\|sbyte\\|ubyte\\|u?short\\|u?int\\|u?long\\|float\\|double\\|type\\|label\\|opaque" . font-lock-type-face)
;; Arithmetic and Logical Operators
@@ -33,7 +33,7 @@
;; Special instructions
'("phi\\|call\\|cast\\|select\\|to\\|shl\\|shr\\|vaarg\\|vanext" . font-lock-keyword-face)
;; Control instructions
- '("ret\\|br\\|switch\\|invoke\\|unwind" . font-lock-keyword-face)
+ '("ret\\|br\\|switch\\|invoke\\|unwind\\|unreachable" . font-lock-keyword-face)
;; Memory operators
'("malloc\\|alloca\\|free\\|load\\|store\\|getelementptr" . font-lock-keyword-face)
)
More information about the llvm-commits
mailing list