* [binutils-gdb] Gas Doc: Update example of how .altmacro affects the interpretation of macro arguments.
@ 2024-04-16 11:07 Nick Clifton
0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2024-04-16 11:07 UTC (permalink / raw)
To: binutils-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8c8de179c20bf5225a08599bee21a60fcde898fc
commit 8c8de179c20bf5225a08599bee21a60fcde898fc
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Apr 16 12:06:08 2024 +0100
Gas Doc: Update example of how .altmacro affects the interpretation of macro arguments.
PR 31255
Diff:
---
gas/doc/as.texi | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/gas/doc/as.texi b/gas/doc/as.texi
index 56b5b752b2f..42db11e91da 100644
--- a/gas/doc/as.texi
+++ b/gas/doc/as.texi
@@ -6231,27 +6231,22 @@ specified by position, not keyword. @xref{Altmacro,,@code{.altmacro}}.
Thus for example:
@example
-.altmacro
.macro foo bar=1, baz=2
.print "\bar \baz"
.endm
+foo baz=3
+.altmacro
foo baz=3
@end example
Will print:
-@smallexample
-baz=3 2
-@end smallexample
-
-Rather than the expected:
-
@smallexample
1 3
+baz=3 2
@end smallexample
-
@end table
Note that since each of the @var{macargs} can be an identifier exactly
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-16 11:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-16 11:07 [binutils-gdb] Gas Doc: Update example of how .altmacro affects the interpretation of macro arguments Nick Clifton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).