[Nasm-bugs] [Bug 3392803] New: On recent NASM the %00 multi-line macro label feature is not supported
noreply-nasm at dev.nasm.us
noreply-nasm at dev.nasm.us
Tue Aug 23 05:09:25 PDT 2022
https://bugzilla.nasm.us/show_bug.cgi?id=3392803
Bug ID: 3392803
Summary: On recent NASM the %00 multi-line macro label feature
is not supported
Product: NASM
Version: 2.16 (development)
Hardware: All
OS: All
Status: OPEN
Severity: severe
Priority: Medium
Component: Assembler
Assignee: nobody at nasm.us
Reporter: pushbx at ulukai.org
CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
hpa at zytor.com, nasm-bugs at nasm.us
Obtained from: Built from git using configure
Here's a test case:
$ cat test.asm
%macro macro 0
%warning %00
%endmacro
label: macro
%ifdef LABELALONE
label:
%endif
jmp label
$ nasm -v
NASM version 2.16rc0 compiled on Jul 12 2022
$ nasm test.asm
test.asm:5: warning: [-w+user]
test.asm:2: ... from macro `macro' defined here
$ oldnasm -v
NASM version 2.14.03rc2 compiled on Aug 31 2019
$ oldnasm test.asm
test.asm:5: warning: (macro:1) label [-w+user]
test.asm:2: ... from macro `macro' defined here [-w+user]
test.asm:9: error: symbol `label' undefined
$ oldnasm test.asm -DLABELALONE
test.asm:5: warning: (macro:1) label [-w+user]
test.asm:2: ... from macro `macro' defined here [-w+user]
$
The nasm executable is a build of the revision specified in my comment in
https://github.com/netwide-assembler/nasm/pull/25#issuecomment-1186217590 with
the patch of that PR applied.
--
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.
More information about the Nasm-bugs
mailing list