[Nasm-bugs] [Bug 3392806] New: Empty %[] construct results in a literal ] token instead of empty string

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Sun Aug 28 11:16:27 PDT 2022


https://bugzilla.nasm.us/show_bug.cgi?id=3392806

            Bug ID: 3392806
           Summary: Empty %[] construct results in a literal ] token
                    instead of empty string
           Product: NASM
           Version: 2.16 (development)
          Hardware: All
                OS: All
            Status: OPEN
          Severity: annoyance
          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

$ cat test.asm
%macro macro 0
 %warning %[]
%endmacro

macro
$ nasm -v
NASM version 2.16rc0 compiled on Aug 23 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)  [-w+user]
test.asm:2: ... from macro `macro' defined here [-w+user]
$

-- 
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