[llvm-commits] [llvm] r84743 - /llvm/trunk/utils/emacs/tablegen-mode.el

Chris Lattner sabre at nondot.org
Tue Oct 20 22:07:57 PDT 2009


Author: lattner
Date: Wed Oct 21 00:07:57 2009
New Revision: 84743

URL: http://llvm.org/viewvc/llvm-project?rev=84743&view=rev
Log:
Set comment string, patch by Johnny Chen!

Modified:
    llvm/trunk/utils/emacs/tablegen-mode.el

Modified: llvm/trunk/utils/emacs/tablegen-mode.el
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/emacs/tablegen-mode.el?rev=84743&r1=84742&r2=84743&view=diff

==============================================================================
--- llvm/trunk/utils/emacs/tablegen-mode.el (original)
+++ llvm/trunk/utils/emacs/tablegen-mode.el Wed Oct 21 00:07:57 2009
@@ -112,6 +112,8 @@
         )
 
   (set-syntax-table tablegen-mode-syntax-table)
+  (make-local-variable 'comment-start)
+  (setq comment-start "//")
   (run-hooks 'tablegen-mode-hook))       ; Finally, this permits the user to
                                          ;   customize the mode with a hook.
 





More information about the llvm-commits mailing list