(asm-mode): Support skipping C lang style comments.
This commit is contained in:
parent
493c98af4a
commit
3d29fd3365
1 changed files with 3 additions and 1 deletions
|
@ -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 " *$"))
|
||||
|
|
Loading…
Add table
Reference in a new issue