BR 3392668: in %define, don't set "definining" until confirmed
commit7cfd01868cf17ea714938db093dad0845fb086f9
authorH. Peter Anvin (Intel) <hpa@zytor.com>
Mon, 1 Jun 2020 19:04:35 +0000 (1 12:04 -0700)
committerH. Peter Anvin (Intel) <hpa@zytor.com>
Mon, 1 Jun 2020 19:04:35 +0000 (1 12:04 -0700)
tree9c46b299afe745fb44234f08a8bc9a83476e13be
parenta762cd4e5402a3605c4962567c47c36c2bd3accf
BR 3392668: in %define, don't set "definining" until confirmed

Don't set "defining" until the macro definition is successfully parsed
and we know for sure that we are going to define the macro.

Together with:

a762cd4e5402a360 BR 3392668: preproc: test for macro in TOK_LOCAL_SYMBOL

... this addresses BR 3392668.

Reported-by: <puppet@zju.edu.cn>
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
asm/preproc.c