mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Add support for the weak linkage specifier
llvm-svn: 9000
This commit is contained in:
parent
62b99977f6
commit
991fdc030c
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user