BR3392200: preproc - Fix dangling paste term
commit99a055add917fe954038885d9013f8968f76790c
authorCyrill Gorcunov <gorcunov@gmail.com>
Mon, 27 Feb 2012 07:11:33 +0000 (27 11:11 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Mon, 27 Feb 2012 07:12:06 +0000 (27 11:12 +0400)
treec9e8f4fd0c7fcc8d6842cd91aff7c55eca0d3284
parentbd8cef73d1ccf2cc75aa38116e78adb37ed66274
BR3392200: preproc - Fix dangling paste term

In case if there a production

{tok},{%+},{whitespace}*

the preprocessor does not delete
ending paste+spaces tokens. Fix it.

http://bugzilla.nasm.us/show_bug.cgi?id=3392200

Reported-by: KO Myung-Hun <komh@chollian.net>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
preproc.c