[Nasm-bugs] [Bug 3392589] New: interminable macro recursion with current git/master
noreply-nasm at gorcunov.org
noreply-nasm at gorcunov.org
Thu Aug 8 06:50:12 PDT 2019
https://bugzilla.nasm.us/show_bug.cgi?id=3392589
Bug ID: 3392589
Summary: interminable macro recursion with current git/master
Product: NASM
Version: unspecified
Hardware: All
OS: All
Status: OPEN
Severity: normal
Priority: Medium
Component: Assembler
Assignee: nobody at nasm.us
Reporter: sezeroz at gmail.com
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
Minimal test case:
$ cat 1.asm
%ifndef _NO_PREFIX
%macro _sym_prefix 1
%define %1 _ %+ %1
%endmacro
%endif
%ifmacro _sym_prefix
_sym_prefix myfunc
%endif ; _sym_prefix
global myfunc
myfunc:
ret
$ ./nasm -f elf 1.asm
1.asm:11: error: interminable macro recursion
^C
(have to Ctrl-C here.)
This worked fine up until nasm-2.14.03rc2.
$ ./nasm -f elf -D_NO_PREFIX 1.asm
(this one is OK, obviously)
--
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