diff options
author | Nick Clifton <nickc@redhat.com> | 2024-04-16 12:06:08 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2024-04-16 12:06:08 +0100 |
commit | 8c8de179c20bf5225a08599bee21a60fcde898fc (patch) | |
tree | 90409a3496c1e2ed7fac55b517bca60bfaae24ae | |
parent | ab0a395b54db4c5492806fa7865bbdddce80ece3 (diff) | |
download | gdb-8c8de179c20bf5225a08599bee21a60fcde898fc.zip gdb-8c8de179c20bf5225a08599bee21a60fcde898fc.tar.gz gdb-8c8de179c20bf5225a08599bee21a60fcde898fc.tar.bz2 |
Gas Doc: Update example of how .altmacro affects the interpretation of macro arguments.
PR 31255
-rw-r--r-- | gas/doc/as.texi | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/gas/doc/as.texi b/gas/doc/as.texi index 56b5b75..42db11e 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 |