[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/31255] keyword arguments do not work with .altmacro
From: |
nickc at redhat dot com |
Subject: |
[Bug gas/31255] keyword arguments do not work with .altmacro |
Date: |
Fri, 12 Apr 2024 15:56:09 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31255
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Assignee|unassigned at sourceware dot org |nickc at redhat dot com
Resolution|--- |FIXED
CC| |nickc at redhat dot com
--- Comment #2 from Nick Clifton <nickc at redhat dot com> ---
Hi Seanga,
Thanks for reporting this problem.
I have checked in a small patch to update the assembler's documentation. The
.altmacro entry now includes:
'No passing arguments to macros based upon keyword assignment.'
In altmacro mode arguments cannot be passed to macros by keyword
assignment.
and the .macro entry includes:
Note however that when operating in altmacro mode arguments
can only be specified by position, not keyword.
Thus for example:
.altmacro
.macro foo bar=1, baz=2
.print "\bar \baz"
.endm
foo baz=3
Will print:
baz=3 2
Rather than the expected:
1 3
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.