preproc: Fix the token iterator in expanding single-line macro
commit51fd5a506723e756d306228cacba47e0a88b50e1
authorChang S. Bae <chang.seok.bae@intel.com>
Thu, 6 Feb 2020 22:39:22 +0000 (6 14:39 -0800)
committerChang S. Bae <chang.seok.bae@intel.com>
Wed, 1 Apr 2020 22:41:38 +0000 (1 15:41 -0700)
tree68758755a21f53c17828c83f82b24f117fd8f0b6
parentddb22a821ce08ec79b013cdcd4538de24c93a93f
preproc: Fix the token iterator in expanding single-line macro

The code used to stuck in going through whitespace tokens.
Fix to increment towards on the next in the loop.

Reported-by: C. Masloch <pushbx@ulukai.org>
Link: https://bugzilla.nasm.us/show_bug.cgi?id=3392630
Suggested-by: C. Masloch <pushbx@ulukai.org>
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
asm/preproc.c