THRIFT-32. thrift.el doesn't syntax highlight single line comments correctly in xemacs
authorBryan Duxbury <bryanduxbury@apache.org>
Tue, 24 Mar 2009 00:39:27 +0000 (00:39 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Tue, 24 Mar 2009 00:39:27 +0000 (00:39 +0000)
Even though Todd didn't give me an easy patch to apply, I still figured it out because I just like the guy so much.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@757621 13f79535-47bb-0310-9956-ffa450edef68

contrib/thrift.el

index 56d2b94..fdee7e2 100644 (file)
@@ -87,7 +87,7 @@
 (defvar thrift-mode-syntax-table
   (let ((thrift-mode-syntax-table (make-syntax-table)))
     (modify-syntax-entry ?_ "w" thrift-mode-syntax-table)
-    (modify-syntax-entry ?/ ". 124b" thrift-mode-syntax-table)
+    (modify-syntax-entry ?/ ". 1456" thrift-mode-syntax-table)
     (modify-syntax-entry ?* ". 23" thrift-mode-syntax-table)
     (modify-syntax-entry ?\n "> b" thrift-mode-syntax-table)
     thrift-mode-syntax-table)