Added `zeroinitializer' keyword.
authorMisha Brukman <brukman+llvm@gmail.com>
Wed, 28 Apr 2004 19:36:08 +0000 (19:36 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Wed, 28 Apr 2004 19:36:08 +0000 (19:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13253 91177308-0d34-0410-b5e6-96231b3b80d8

utils/emacs/llvm-mode.el
utils/vim/llvm.vim

index 37f5d88ff15facfb0479f4a741de15a4571f5959..9ae0ea45929c8ae0932130d8ba2ca3fd1e73d6ac 100644 (file)
@@ -25,7 +25,7 @@
    ;; Hex constants
    '("0x[0-9A-Fa-f]+" . font-lock-preprocessor-face)
    ;; Keywords
-   '("begin\\|end\\|true\\|false\\|declare\\|global\\|constant\\|const\\|internal\\|linkonce\\|weak\\|appending\\|uninitialized\\|implementation\\|\\.\\.\\.\\|null\\|to\\|except\\|not\\|target\\|endian\\|little\\|big\\|pointersize\\|volatile" . font-lock-keyword-face)
+   '("begin\\|end\\|true\\|false\\|zeroinitializer\\|declare\\|global\\|constant\\|const\\|internal\\|linkonce\\|weak\\|appending\\|uninitialized\\|implementation\\|\\.\\.\\.\\|null\\|to\\|except\\|not\\|target\\|endian\\|little\\|big\\|pointersize\\|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
index f122906255ad75b15ac158040f556a21737cd2dd..619aa07fc1701b8b653dc7bd39dc0cec34deca45 100644 (file)
@@ -24,7 +24,7 @@ syn keyword llvmStatement phi call cast to select shl shr vaarg vanext
 syn keyword llvmStatement ret br switch invoke unwind
 syn keyword llvmStatement malloc alloca free load store getelementptr
 
-syn keyword llvmStatement begin end true false
+syn keyword llvmStatement begin end true false zeroinitializer
 syn keyword llvmStatement declare global constant const
 syn keyword llvmStatement internal uninitialized external implementation
 syn keyword llvmStatement linkonce weak appending