BR 3392652: hold smacro expansion warnings until we are sure
commit4964d80fe48582c95b88dd84d8e9d4e5a17c1de2
authorH. Peter Anvin (Intel) <hpa@zytor.com>
Thu, 4 Jun 2020 22:53:31 +0000 (4 15:53 -0700)
committerH. Peter Anvin (Intel) <hpa@zytor.com>
Thu, 4 Jun 2020 22:59:47 +0000 (4 15:59 -0700)
treef98cf536ecccab1ce10c8ac9c8f836ea89f890e7
parent12df4dd12f530f11e147a59be846c0453e79bb0c
BR 3392652: hold smacro expansion warnings until we are sure

Don't issue smacro expansion warnings until we are sure we are
actually *done* with the smacro expansion. The last pass of
expand_smacro_noreset() gets to commit warnings.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
asm/nasm.c
asm/preproc.c
include/error.h
include/nasm.h