[Nasm-bugs] [Bug 3392561] %ifn in a certain context allows undefined symbol, which activates its clause

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Sat Mar 2 14:16:17 PST 2019


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

C. Masloch <pushbx at 38.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pushbx at 38.de

--- Comment #1 from C. Masloch <pushbx at 38.de> ---
Shorter test case:

$ cat test2.asm

definedequ equ 4

%macro mac 1.nolist
        %if 0 == 1
         %error Really should not see this.
        %elifn %1
         %error Preprocessor %error directive message.
        %endif
%endmacro

mac definedequ | undefinedequ
$ nasm test2.asm
test2.asm:12: error: (mac:4) Preprocessor %error directive message.
$ nasm -v
NASM version 2.14
$

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