diff options
author | Chris Lattner <sabre@nondot.org> | 2005-05-06 06:07:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-05-06 06:07:34 +0000 |
commit | 653488d1660c2d43ca7efc3f2a81c83d903d1e7f (patch) | |
tree | a4de6dcbe97bbd81f5501261601a78cbd2322a57 | |
parent | 47968e4dfd849b83a7eb958611c994e6b500998c (diff) |
Hilight tail
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21726 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | utils/emacs/llvm-mode.el | 2 | ||||
-rw-r--r-- | utils/vim/llvm.vim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/emacs/llvm-mode.el b/utils/emacs/llvm-mode.el index 959cf268a0..58e952f505 100644 --- a/utils/emacs/llvm-mode.el +++ b/utils/emacs/llvm-mode.el @@ -31,7 +31,7 @@ ;; Arithmetic and Logical Operators '("add\\|sub\\|mul\\|div\\|rem\\|and\\|or\\|xor\\|set\\(ne\\|eq\\|lt\\|gt\\|le\\|ge\\)" . font-lock-keyword-face) ;; Special instructions - '("phi\\|call\\|cast\\|select\\|to\\|shl\\|shr\\|vaarg\\|vanext" . font-lock-keyword-face) + '("phi\\|tail\\|call\\|cast\\|select\\|to\\|shl\\|shr\\|vaarg\\|vanext" . font-lock-keyword-face) ;; Control instructions '("ret\\|br\\|switch\\|invoke\\|unwind\\|unreachable" . font-lock-keyword-face) ;; Memory operators diff --git a/utils/vim/llvm.vim b/utils/vim/llvm.vim index 8088600fdf..3fc2476495 100644 --- a/utils/vim/llvm.vim +++ b/utils/vim/llvm.vim @@ -20,7 +20,7 @@ syn keyword llvmStatement add sub mul div rem syn keyword llvmStatement and or xor syn keyword llvmStatement setne seteq setlt setgt setle setge -syn keyword llvmStatement phi call cast to select shl shr vaarg vanext +syn keyword llvmStatement phi tail call cast to select shl shr vaarg vanext syn keyword llvmStatement ret br switch invoke unwind unreachable syn keyword llvmStatement malloc alloca free load store getelementptr |