[Top][All Lists]

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

Re: [avr-gcc-list] How to do multi-line assembler macros?

From: Marek Michalkiewicz
Subject: Re: [avr-gcc-list] How to do multi-line assembler macros?
Date: Wed, 10 Sep 2003 09:59:12 +0200
User-agent: Mutt/1.5.4i

On Wed, Sep 10, 2003 at 09:17:22AM +0200, Joerg Wunsch wrote:
> My guess is that this has been made since ; is a very common
> comment character in assembler languages, so porting other AVR
> assembler code to gas is a bit easier.

Yes, support for the '$' line separator was added when ';' was already
supported as a comment character, for compatibility with the old AVA
assembler/linker (from the early days of avr-gcc, before the binutils
port and later merging the AVR port into the official source - in fact,
both assemblers were supported for a while).

> Pah, whoever introduced the $ line-endings probably didn't think about
> /that/.  OTOH, it's likely that each and any other ASCII character
> might have caused other wonderful surprises as well.

I haven't seen '$' used as part of identifiers in any real C sources,
I don't think it is part of the C standard.


reply via email to

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