;; Description:
;; Major mode for the LLVM assembler language.
;; Updated:
-;; Oct 8, 2002
+;; Apr 22, 2003
;; Code:
;; Create mode-specific tables.
;; 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" . font-lock-keyword-face)
+ '("begin\\|end\\|true\\|false\\|declare\\|global\\|constant\\|const\\|internal\\|linkonce\\|appending\\|uninitialized\\|implementation\\|\\.\\.\\.\\|null\\|to\\|except\\|not\\|target\\|endian\\|little\\|big\\|pointersize" . 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
" Vim syntax file
" Language: llvm
-" Maintainer: Nick Hildenbrandt <hldnbrnd@uiuc.edu>
-" Updated: 2002-10-07
+" Maintainer: ?
+" Updated: 2003-04-22
if version < 600
syntax clear
syn keyword llvmStatement declare global constant const
syn keyword llvmStatement internal uninitialized external implementation
syn keyword llvmStatement linkonce appending
-syn keyword llvmStatement null to except not
+syn keyword llvmStatement null to except not target endian pointersize
+syn keyword llvmStatement big little
"syn match llvmFunction /%[a-zA-Z\$._\-][a-zA-Z\$._\-0-9]*/
syn match llvmNumber /\<\d\+\>/