diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-04-28 19:36:08 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-04-28 19:36:08 +0000 |
commit | 6cdff92daf935fd59582e3c217bde7222bc6536b (patch) | |
tree | a0c37692678478d2d7c377d1a6536fbbd5bb5609 /utils | |
parent | e5242def97c52077b4e0a77a501f324867f7bce5 (diff) | |
download | external_llvm-6cdff92daf935fd59582e3c217bde7222bc6536b.zip external_llvm-6cdff92daf935fd59582e3c217bde7222bc6536b.tar.gz external_llvm-6cdff92daf935fd59582e3c217bde7222bc6536b.tar.bz2 |
Added `zeroinitializer' keyword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13253 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/emacs/llvm-mode.el | 2 | ||||
-rw-r--r-- | utils/vim/llvm.vim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/emacs/llvm-mode.el b/utils/emacs/llvm-mode.el index 37f5d88..9ae0ea4 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\\|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 diff --git a/utils/vim/llvm.vim b/utils/vim/llvm.vim index f122906..619aa07 100644 --- a/utils/vim/llvm.vim +++ b/utils/vim/llvm.vim @@ -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 |