summaryrefslogtreecommitdiff
path: root/utils/emacs
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-06-03 00:57:41 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-06-03 00:57:41 +0000
commitf77ed7afd9b386faec5ec965c991302d33ca204b (patch)
tree394c764c2cd58e924399d5db1731ebe0fd8e0067 /utils/emacs
parent5981d788f22930083e1f1172b7ba9b75cbe68e5c (diff)
downloadllvm-f77ed7afd9b386faec5ec965c991302d33ca204b.tar.gz
llvm-f77ed7afd9b386faec5ec965c991302d33ca204b.tar.bz2
llvm-f77ed7afd9b386faec5ec965c991302d33ca204b.tar.xz
Added the `to' keyword as in `cast <type> <data> to <type>'.
Cleaned up the header of the file (comments/description/etc). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/emacs')
-rw-r--r--utils/emacs/llvm-mode.el11
1 files changed, 4 insertions, 7 deletions
diff --git a/utils/emacs/llvm-mode.el b/utils/emacs/llvm-mode.el
index 578257ab50..d14d4c273b 100644
--- a/utils/emacs/llvm-mode.el
+++ b/utils/emacs/llvm-mode.el
@@ -1,9 +1,6 @@
-;; Author: Misha Brukman <brukman@cs.uiuc.edu>
-;; Description:
-;; Major mode for the LLVM assembler language.
-;; Updated:
-;; Apr 22, 2003
-;; Code:
+;; Author: Misha Brukman <brukman@cs.uiuc.edu>
+;; Description: Major mode for the LLVM assembler language.
+;; Updated: 2003-06-02
;; Create mode-specific tables.
(defvar llvm-mode-syntax-table nil
@@ -34,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\\|shl\\|shr\\|va_arg" . font-lock-keyword-face)
+ '("phi\\|call\\|cast\\|to\\|shl\\|shr\\|va_arg" . font-lock-keyword-face)
;; Control instructions
'("ret\\|br\\|switch\\|invoke" . font-lock-keyword-face)
;; Memory operators