add support for fastcc and friends
authorChris Lattner <sabre@nondot.org>
Fri, 13 May 2005 20:40:52 +0000 (20:40 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 13 May 2005 20:40:52 +0000 (20:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21979 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 58e952f505fd5dcef46ab61b6ebef94173b725b2..61aec9894a1056deacc1a21b6c18778a1b6d0d04 100644 (file)
@@ -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
index 3fc2476495cc47569d86355ddf4aa0de2df63c94..eafc33654a858750f458651edf7c815f7553a4dd 100644 (file)
@@ -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\+\>/