]> git.eshelyaron.com Git - emacs.git/commitdiff
(asm-mode): Support skipping C lang style comments.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 31 Mar 2003 20:16:01 +0000 (20:16 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 31 Mar 2003 20:16:01 +0000 (20:16 +0000)
lisp/progmodes/asm-mode.el

index 96b14596f6b629f548b9a3eb24bfd4f317e78dee..48ca22ce2592fc784cb3163888420308cd36315d 100644 (file)
@@ -140,7 +140,9 @@ Special commands:
     (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 " *$"))