llvm.org GIT mirror llvm / 7f12bbb
* Add `deplibs' keyword for specifying a list of dependent libraries * Convert tabs to spaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16558 91177308-0d34-0410-b5e6-96231b3b80d8 Misha Brukman 14 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
2424 ;; Hex constants
2525 '("0x[0-9A-Fa-f]+" . font-lock-preprocessor-face)
2626 ;; Keywords
27 '("begin\\|end\\|true\\|false\\|zeroinitializer\\|declare\\|global\\|constant\\|const\\|internal\\|linkonce\\|weak\\|appending\\|uninitialized\\|implementation\\|\\.\\.\\.\\|null\\|to\\|except\\|not\\|target\\|endian\\|little\\|big\\|pointersize\\|volatile" . font-lock-keyword-face)
27 '("begin\\|end\\|true\\|false\\|zeroinitializer\\|declare\\|global\\|constant\\|const\\|internal\\|linkonce\\|weak\\|appending\\|uninitialized\\|implementation\\|\\.\\.\\.\\|null\\|to\\|except\\|not\\|target\\|endian\\|little\\|big\\|pointersize\\|deplibs\\|volatile" . font-lock-keyword-face)
2828 ;; Types
2929 '("void\\|bool\\|sbyte\\|ubyte\\|u?short\\|u?int\\|u?long\\|float\\|double\\|type\\|label\\|opaque" . font-lock-type-face)
3030 ;; Arithmetic and Logical Operators
107107 (use-local-map llvm-mode-map) ; Provides the local keymap.
108108 (setq major-mode 'llvm-mode)
109109
110 (make-local-variable 'font-lock-defaults)
110 (make-local-variable 'font-lock-defaults)
111111 (setq major-mode 'llvm-mode ; This is how describe-mode
112112 ; finds the doc string to print.
113 mode-name "LLVM" ; This name goes into the modeline.
114 font-lock-defaults `(llvm-font-lock-keywords))
113 mode-name "LLVM" ; This name goes into the modeline.
114 font-lock-defaults `(llvm-font-lock-keywords))
115115
116116 (setq local-abbrev-table llvm-mode-abbrev-table)
117117 (set-syntax-table llvm-mode-syntax-table)