diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-13 20:40:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-13 20:40:52 +0000 |
commit | af26d3ea0324f16f0912498e2ae0404fdbe6d489 (patch) | |
tree | 4c0a045c48057213d2d5a0a50b16b68c582fbe31 | |
parent | d0c4a7649c91911924b4f43966eea82b7117dd59 (diff) | |
download | external_llvm-af26d3ea0324f16f0912498e2ae0404fdbe6d489.zip external_llvm-af26d3ea0324f16f0912498e2ae0404fdbe6d489.tar.gz external_llvm-af26d3ea0324f16f0912498e2ae0404fdbe6d489.tar.bz2 |
add support for fastcc and friends
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21979 91177308-0d34-0410-b5e6-96231b3b80d8
-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 58e952f..61aec98 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\\|undef\\|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\\|fastcc\\|coldcc\\|cc" . 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 3fc2476..eafc336 100644 --- a/utils/vim/llvm.vim +++ b/utils/vim/llvm.vim @@ -29,7 +29,7 @@ syn keyword llvmStatement declare global constant const syn keyword llvmStatement internal uninitialized external implementation syn keyword llvmStatement linkonce weak appending syn keyword llvmStatement undef null to except target endian pointersize deplibs -syn keyword llvmStatement big little volatile +syn keyword llvmStatement big little volatile fastcc coldcc cc "syn match llvmFunction /%[a-zA-Z\$._\-][a-zA-Z\$._\-0-9]*/ syn match llvmNumber /\<\d\+\>/ |