[Nasm-bugs] [Bug 3392627] %rep listing swallows %[...] brackets
noreply-nasm at dev.nasm.us
noreply-nasm at dev.nasm.us
Thu Oct 24 06:33:44 PDT 2019
https://bugzilla.nasm.us/show_bug.cgi?id=3392627
C. Masloch <pushbx at ulukai.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pushbx at ulukai.org
--- Comment #1 from C. Masloch <pushbx at ulukai.org> ---
This does happen in the listing for macro expansions too, although using %[...]
there is nearly useless because (eg) %1 already is expanded all the way without
%[...] around it.
$ cat test2.lst
1
2 [map symbols brief test2.map]
3
4 %macro mac1 1
5 data%[%1]:
6 %endmacro
7
8 %macro mac2 1
9 data%1:
10 %endmacro
11
12 %define ii 1
13 mac1 ii
5 <1> data%1:
14 mac2 ii
9 <1> data%1:
$ cat test2.map
- NASM Map file ---------------------------------------------------------------
Source file: test2.asm
Output file: test2
-- Program origin -------------------------------------------------------------
00000000
-- Sections (summary) ---------------------------------------------------------
Vstart Start Stop Length Class Name
0 0 0 00000000 progbits .text
-- Symbols --------------------------------------------------------------------
---- Section .text ------------------------------------------------------------
Real Virtual Name
0 0 data1
$
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
More information about the Nasm-bugs
mailing list