summaryrefslogtreecommitdiffstats
path: root/llvm/utils/emacs
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-21 05:07:57 +0000
committerChris Lattner <sabre@nondot.org>2009-10-21 05:07:57 +0000
commit439fa3eddd1be3b470816ec372109d760a7297cb (patch)
tree22a4098717819d1ad2ce4e72b1073254ff0b4b2c /llvm/utils/emacs
parent6720492c394bb1f53e2298ec7f3e4d52aece945f (diff)
downloadbcm5719-llvm-439fa3eddd1be3b470816ec372109d760a7297cb.tar.gz
bcm5719-llvm-439fa3eddd1be3b470816ec372109d760a7297cb.zip
Set comment string, patch by Johnny Chen!
llvm-svn: 84743
Diffstat (limited to 'llvm/utils/emacs')
-rw-r--r--llvm/utils/emacs/tablegen-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/utils/emacs/tablegen-mode.el b/llvm/utils/emacs/tablegen-mode.el
index 08f7f252c68..833c16c599d 100644
--- a/llvm/utils/emacs/tablegen-mode.el
+++ b/llvm/utils/emacs/tablegen-mode.el
@@ -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.
OpenPOWER on IntegriCloud