From: Nick Clifton Date: Tue, 16 Apr 2024 11:06:08 +0000 (+0100) Subject: Gas Doc: Update example of how .altmacro affects the interpretation of macro arguments. X-Git-Tag: gdb-15-branchpoint~399 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8c8de179c20bf5225a08599bee21a60fcde898fc;p=thirdparty%2Fbinutils-gdb.git Gas Doc: Update example of how .altmacro affects the interpretation of macro arguments. PR 31255 --- 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