diff options
| author | Juanma Barranquero | 2003-03-31 20:16:01 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2003-03-31 20:16:01 +0000 |
| commit | 3d29fd3365f0c6d9862e265f1bd934c974935b41 (patch) | |
| tree | a9630a460a3d7543ba5f659c605837ad7e1b9fed | |
| parent | 493c98af4a131762196371570254f92a8f046101 (diff) | |
| download | emacs-3d29fd3365f0c6d9862e265f1bd934c974935b41.tar.gz emacs-3d29fd3365f0c6d9862e265f1bd934c974935b41.zip | |
(asm-mode): Support skipping C lang style comments.
| -rw-r--r-- | lisp/progmodes/asm-mode.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el index 96b14596f6b..48ca22ce259 100644 --- a/lisp/progmodes/asm-mode.el +++ b/lisp/progmodes/asm-mode.el | |||
| @@ -140,7 +140,9 @@ Special commands: | |||
| 140 | (make-local-variable 'comment-start) | 140 | (make-local-variable 'comment-start) |
| 141 | (setq comment-start (concat (char-to-string asm-comment-char) " ")) | 141 | (setq comment-start (concat (char-to-string asm-comment-char) " ")) |
| 142 | (make-local-variable 'comment-start-skip) | 142 | (make-local-variable 'comment-start-skip) |
| 143 | (setq comment-start-skip (concat cs "+[ \t]*")) | 143 | (setq comment-start-skip (concat cs "+[ \t]*" "\\|" "/\\*+ *")) |
| 144 | (make-local-variable 'comment-end-skip) | ||
| 145 | (setq comment-end-skip "[ \t]*\\(\\s>\\|\\*+/\\)") | ||
| 144 | (setq asm-inline-empty-comment-pattern (concat "^.+" cs "+ *$")) | 146 | (setq asm-inline-empty-comment-pattern (concat "^.+" cs "+ *$")) |
| 145 | (setq asm-code-level-empty-comment-pattern (concat "^[\t ]+" cs cs " *$")) | 147 | (setq asm-code-level-empty-comment-pattern (concat "^[\t ]+" cs cs " *$")) |
| 146 | (setq asm-flush-left-empty-comment-pattern (concat "^" cs cs cs " *$")) | 148 | (setq asm-flush-left-empty-comment-pattern (concat "^" cs cs cs " *$")) |