summaryrefslogtreecommitdiff
path: root/contrib/thrift.el
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@apache.org>2009-03-24 20:02:22 +0000
committerDavid Reiss <dreiss@apache.org>2009-03-24 20:02:22 +0000
commitcecbed81c806e40ca0342d7b8e265d2bf55a2f04 (patch)
tree38ddbb663b7a4b86d70d218eb25a8d7d696dabe2 /contrib/thrift.el
parentfe931d152695950fe1115abcc2bd779a96be239a (diff)
downloadthrift-cecbed81c806e40ca0342d7b8e265d2bf55a2f04.tar.gz
THRIFT-136. s/async/oneway/ in the Thrift IDL
This is the real change. The lexer now recognizes "oneway" and warns on "async". All example and test IDLs have been updated, as have the syntax files. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@757994 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'contrib/thrift.el')
-rw-r--r--contrib/thrift.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/thrift.el b/contrib/thrift.el
index fdee7e28f..7d1c75156 100644
--- a/contrib/thrift.el
+++ b/contrib/thrift.el
@@ -10,7 +10,7 @@
(defconst thrift-font-lock-keywords
(list
'("#.*$" . font-lock-comment-face) ;; perl style comments
- '("\\<\\(include\\|struct\\|exception\\|typedef\\|const\\|enum\\|service\\|extends\\|void\\|async\\|throws\\|optional\\|required\\)\\>" . font-lock-keyword-face) ;; keywords
+ '("\\<\\(include\\|struct\\|exception\\|typedef\\|const\\|enum\\|service\\|extends\\|void\\|oneway\\|throws\\|optional\\|required\\)\\>" . font-lock-keyword-face) ;; keywords
'("\\<\\(bool\\|byte\\|i16\\|i32\\|i64\\|double\\|string\\|binary\\|map\\|list\\|set\\)\\>" . font-lock-type-face) ;; built-in types
'("\\<\\([0-9]+\\)\\>" . font-lock-variable-name-face) ;; ordinals
'("\\<\\(\\w+\\)\\s-*(" (1 font-lock-function-name-face)) ;; functions