help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: asm mode doesn't recognize gas comments...


From: rustom
Subject: Re: asm mode doesn't recognize gas comments...
Date: Mon, 25 Jan 2010 19:14:41 -0800 (PST)
User-agent: G2/1.0

On Jan 23, 3:09 pm, Brendan Miller <catph...@catphive.net> wrote:
> 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:http://www.phys.ufl.edu/docs/emacs/emacs_299.html98
>
> 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?
>
> Brendan

There is also a gas mode  http://www.hczim.de/software/gas-mode.html


reply via email to

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