This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: .macro behavior
- From: Ian Lance Taylor <ian at airs dot com>
- To: "Jan Beulich" <JBeulich at novell dot com>
- Cc: <binutils at sources dot redhat dot com>
- Date: 14 Jan 2005 11:50:05 -0500
- Subject: Re: .macro behavior
- References: <s1e7f3b0.097@emea1-mh.id2.novell.com>
"Jan Beulich" <JBeulich@novell.com> writes:
> Is it intentional that .macro
>
> - ignores the (configurable) set of symbol name characters and instead
> only allows [[:alpha:]_$][[:alnum:]_$]*
> - silently inserts a zero-length named macro if the name starts with
> any non-token character
> - silently ignores the rest of the line if a formal argument starts
> with any non-token character
>
> If not, I'd like to fix this. One major concern here is that with these
> restrictions one can't build trivial things like a .bss
> pseudo-directive...
None of these behaviours are intentional.
But you're still not going to be able to define a macro which starts
with '.'. Those are handled specially in read_a_source_file().
Although I suppose that could also be changed.
Ian