This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: macro expansion and operator &&


On Tue, Aug 17, 2010 at 07:57:50AM +0100, Jan Beulich wrote:
> Are you sure it's x&yz?

No, silly me.  I didn't check.  x&yz is what you get without
--alternate.

> > That was the first thing I tried when looking into this problem.
> > gas/all/altmacro fails.
> 
> Wasn't that just because the .noaltmacro portion of the test
> incorrectly expects the & in the macro definition to be stripped?
> That may need to be changed if the sources get fixed.

It's not that '&' is a separator that should be stripped.  '&' starts
a macro parameter substitution, just as '\\' does.  So perhaps the
FIXME should say "document this feature".  :-)

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]