diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-16 18:24:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-16 18:24:35 +0000 |
commit | 4c554c589ffc081965772f8123a8377a83360062 (patch) | |
tree | a86b4229bf8676f7a0564a72dd6d01f505a9bfc0 /utils/emacs | |
parent | 9bbcf09431cd203239de81b07f948c9537591e6d (diff) |
Add support for undef and unreachable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17059 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/emacs')
-rw-r--r-- | utils/emacs/llvm-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/emacs/llvm-mode.el b/utils/emacs/llvm-mode.el index 6e460ab87c..959cf268a0 100644 --- a/utils/emacs/llvm-mode.el +++ b/utils/emacs/llvm-mode.el @@ -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) ) |