[Nasm-bugs] [Bug 3392611] New: Macro range doesn't handle braced argument
noreply-nasm at gorcunov.org
noreply-nasm at gorcunov.org
Mon Sep 23 23:53:54 PDT 2019
https://bugzilla.nasm.us/show_bug.cgi?id=3392611
Bug ID: 3392611
Summary: Macro range doesn't handle braced argument
Product: NASM
Version: 2.14.xx
Hardware: All
OS: All
Status: OPEN
Severity: normal
Priority: Medium
Component: Assembler
Assignee: nobody at nasm.us
Reporter: jadoxa at yahoo.com.au
CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
hpa at zytor.com, nasm-bugs at nasm.us
Obtained from: Binary from nasm.us
Passing a single braced argument to a macro only seems to expand up to a comma,
not the full argument.
> type tst.nsm
%macro testarg 1.nolist
%warning 1: %1
%warning {1:1}: %{1:1}
%endmacro
testarg {a,b}
> nasm -e tst.nsm
%line 5+1 tst.nsm
tst.nsm:6: warning: (testarg:1) 1: a,b [-w+user]
tst.nsm:6: warning: (testarg:2) {1:1}: a [-w+user]
"%{1:1}" should be "a,b", not just "a".
--
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