[llvm-commits] CVS: llvm/utils/vim/llvm.vim

Misha Brukman brukman at cs.uiuc.edu
Mon Jun 2 19:57:01 PDT 2003


Changes in directory llvm/utils/vim:

llvm.vim updated: 1.4 -> 1.5

---
Log message:

* Added the `to' keyword, as in `cast <type> <data> to <type>'.
* Gave the file a maintainer.
* Cleaned up the layout somewhat.


---
Diffs of the changes:

Index: llvm/utils/vim/llvm.vim
diff -u llvm/utils/vim/llvm.vim:1.4 llvm/utils/vim/llvm.vim:1.5
--- llvm/utils/vim/llvm.vim:1.4	Wed May  7 21:41:11 2003
+++ llvm/utils/vim/llvm.vim	Mon Jun  2 19:56:09 2003
@@ -1,7 +1,7 @@
 " Vim syntax file
-" Language:	llvm
-" Maintainer:	?
-" Updated:	2003-04-22
+" Language:   llvm
+" Maintainer: The LLVM team, http://llvm.cs.uiuc.edu/
+" Updated:    2003-06-02
 
 if version < 600
   syntax clear
@@ -20,7 +20,7 @@
 syn keyword llvmStatement and or xor
 syn keyword llvmStatement setne seteq setlt setgt setle setge
 
-syn keyword llvmStatement phi call cast shl shr va_arg
+syn keyword llvmStatement phi call cast to shl shr va_arg
 syn keyword llvmStatement ret br switch invoke
 syn keyword llvmStatement malloc alloca free load store getelementptr
 
@@ -32,12 +32,12 @@
 syn keyword llvmStatement big little
 
 "syn match llvmFunction /%[a-zA-Z\$._\-][a-zA-Z\$._\-0-9]*/
-syn match llvmNumber /\<\d\+\>/
-syn match llvmNumber /\<\d\+\.\d*\>/
+syn match  llvmNumber /\<\d\+\>/
+syn match  llvmNumber /\<\d\+\.\d*\>/
 
-syn match llvmComment /;.*$/
+syn match  llvmComment /;.*$/
 syn region llvmString start=/"/ skip=/\\"/ end=/"/
-syn match llvmLabel /[\-a-zA-Z\$._0-9]*:/
+syn match  llvmLabel /[\-a-zA-Z\$._0-9]*:/
 
 
 if version >= 508 || !exists("did_c_syn_inits")





More information about the llvm-commits mailing list