changeset 50352:d420b475d5c9

(asm-mode): Support skipping C lang style comments.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 31 Mar 2003 20:16:01 +0000
parents 8e666b72c381
children e5761fbf195f
files lisp/progmodes/asm-mode.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/asm-mode.el	Mon Mar 31 16:05:50 2003 +0000
+++ b/lisp/progmodes/asm-mode.el	Mon Mar 31 20:16:01 2003 +0000
@@ -140,7 +140,9 @@
     (make-local-variable 'comment-start)
     (setq comment-start (concat (char-to-string asm-comment-char) " "))
     (make-local-variable 'comment-start-skip)
-    (setq comment-start-skip (concat cs "+[ \t]*"))
+    (setq comment-start-skip (concat cs "+[ \t]*" "\\|" "/\\*+ *"))
+    (make-local-variable 'comment-end-skip)
+    (setq comment-end-skip  "[ \t]*\\(\\s>\\|\\*+/\\)")
     (setq asm-inline-empty-comment-pattern (concat "^.+" cs "+ *$"))
     (setq asm-code-level-empty-comment-pattern (concat "^[\t ]+" cs cs " *$"))
     (setq asm-flush-left-empty-comment-pattern (concat "^" cs cs cs " *$"))