[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

asm mode doesn't recognize gas comments...

From: Brendan Miller
Subject: asm mode doesn't recognize gas comments...
Date: Sat, 23 Jan 2010 02:09:12 -0800

By default it seems that asm mode recognizes MASM style comments
(starting with ;), but not gas style comments (starting with #). A
little weird for a GNU program running on Linux...

Anyway, according to asm modes docs:

asm-comment-char can be set. So I added this to my .emacs:

(set 'asm-comment-char "#")

This makes ; stop highlighting like a comment, but doesn't make # do
anything. Am I doing anything obviously wrong? Is there some mode file
somewhere that actually handles the GNU assembler syntax?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]