Add support for the weak linkage specifier

llvm-svn: 9000
This commit is contained in:
Chris Lattner 2003-10-10 04:56:26 +00:00
parent 3cd3cb537c
commit 9865db1fcb
2 changed files with 2 additions and 2 deletions

View 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\\|appending\\|uninitialized\\|implementation\\|\\.\\.\\.\\|null\\|to\\|except\\|not\\|target\\|endian\\|little\\|big\\|pointersize\\|volatile" . font-lock-keyword-face)
'("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)
;; Types
'("void\\|bool\\|sbyte\\|ubyte\\|u?short\\|u?int\\|u?long\\|float\\|double\\|type\\|label\\|opaque" . font-lock-type-face)
;; Arithmetic and Logical Operators

View File

@ -27,7 +27,7 @@ syn keyword llvmStatement malloc alloca free load store getelementptr
syn keyword llvmStatement begin end true false
syn keyword llvmStatement declare global constant const
syn keyword llvmStatement internal uninitialized external implementation
syn keyword llvmStatement linkonce appending
syn keyword llvmStatement linkonce weak appending
syn keyword llvmStatement null to except not target endian pointersize
syn keyword llvmStatement big little volatile