------- Additional Comments From konrad dot schwarz at siemens dot com
2010-07-22 11:05 -------
(In reply to comment #4)
> You need to double & for every level of expansion. .irp introduces another
> such
> level.
I tried using 8 ampersands (&&&&&&&&). The code now works. It also works with
7, 6, and 5 ampersands. It does not work with 4, 3, or 2 ampersands, nor with 9
ampersands.
I find this pretty erratic behavior, especially since I wasn't even using
alternate macro mode at the relevant point, but if you feel this is not a bug,
then so be it.
However, I would like doubling ampersands to be documented, e.g.,
"To get an ampersand in the expansion of the macro, double it." in
(as.info)Macro.
I don't understand the interaction between .irp and & properly, so I can't give
a suggestion on how to document it.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
http://sourceware.org/bugzilla/show_bug.cgi?id=11829
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils