preproc.c: fix macro descent
commit875eb24b29a6b4274c37f1dcf23a956c4102552d
authorH. Peter Anvin (Intel) <hpa@zytor.com>
Thu, 8 Aug 2019 00:12:24 +0000 (7 17:12 -0700)
committerH. Peter Anvin (Intel) <hpa@zytor.com>
Thu, 8 Aug 2019 00:14:35 +0000 (7 17:14 -0700)
tree7a5094355964859021dbdb76855617a330cc3cdf
parent71bdc43087050d8e241436b539e906357f3cbcb2
preproc.c: fix macro descent

We have to call expand_one_smacro() recursively, otherwise we will not
expand smacros which point to other smacros. We cannot simply do this
by looping after token pasting, because we need to make sure we don't
recursively expand the same smacro.

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