[Nasm-bugs] [Bug 3392630] git nasm: infinite loop with input %define A \ %define B PREFIX%[A] \ %xdefine C B

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Tue Oct 29 04:02:55 PDT 2019


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

--- Comment #3 from C. Masloch <pushbx at ulukai.org> ---
It seems that any trailing whitespace allows triggering the conditions for this
bug, eg:

$ cat test3.asm
%define MNCURRENT TEST  ; note comment/whitespace at end of line
%xdefine var MNCURRENT
$ 

If I understand it correctly, a %[...] construct that expands to "nothing"
actually results in a whitespace token, which is the reason it triggered the
bug.

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