From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2124) id 726B63858D39; Tue, 16 Apr 2024 11:07:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 726B63858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1713265626; bh=VP1HzfF72VOUqEWPzb6aFT4b0aLvrY6y3LaE5P/hdIc=; h=From:To:Subject:Date:From; b=JHFHe0ZFaKGZGPscTvYs8axKXRaEpMN7d7YvUOFmrjEnQaQddapRhvUy2j2/pOdch i1uHom7leRVWqrl7QCDGci8rvM9V8OC/Q7TT6W2nhNxA0Ghh1N+1OkIpO18hbhm0pO CsZwU9DuVpVZInrbie/9/vitC12n2ovXZrgKmqYQ= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Nick Clifton To: binutils-cvs@sourceware.org Subject: [binutils-gdb] Gas Doc: Update example of how .altmacro affects the interpretation of macro arguments. X-Act-Checkin: binutils-gdb X-Git-Author: Nick Clifton X-Git-Refname: refs/heads/master X-Git-Oldrev: ab0a395b54db4c5492806fa7865bbdddce80ece3 X-Git-Newrev: 8c8de179c20bf5225a08599bee21a60fcde898fc Message-Id: <20240416110706.726B63858D39@sourceware.org> Date: Tue, 16 Apr 2024 11:07:06 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D8c8de179c20b= f5225a08599bee21a60fcde898fc commit 8c8de179c20bf5225a08599bee21a60fcde898fc Author: Nick Clifton Date: Tue Apr 16 12:06:08 2024 +0100 Gas Doc: Update example of how .altmacro affects the interpretation of = macro arguments. =20 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: =20 @example -.altmacro .macro foo bar=3D1, baz=3D2 .print "\bar \baz" .endm =20 +foo baz=3D3 +.altmacro foo baz=3D3 @end example =20 Will print: =20 -@smallexample -baz=3D3 2 -@end smallexample - -Rather than the expected: - @smallexample 1 3 +baz=3D3 2 @end smallexample =20 - @end table =20 Note that since each of the @var{macargs} can be an identifier exactly