Set comment string, patch by Johnny Chen!
authorChris Lattner <sabre@nondot.org>
Wed, 21 Oct 2009 05:07:57 +0000 (05:07 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 21 Oct 2009 05:07:57 +0000 (05:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84743 91177308-0d34-0410-b5e6-96231b3b80d8

utils/emacs/tablegen-mode.el

index 08f7f252c681ecd8e3c04f0c6a75ca66fadd79b4..833c16c599d4ab6bf735be89a0e87657340dcd6f 100644 (file)
         )
 
   (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.