preproc: unify token-pasting code
commitd784a083a3f1bc37f6a90cb12ccbcbc2cef570bb
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 20 Apr 2009 21:01:18 +0000 (20 14:01 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 20 Apr 2009 21:01:18 +0000 (20 14:01 -0700)
treec20222de8d6b4f94e34e2591e823c76df00cad97
parent6ca419e7c56bfc854965c0d6cba81fc24cb527c3
preproc: unify token-pasting code

Unify the token-pasting code between the macro expansion and the
preprocessor parameter case.  Parameterize whether or not to handle %+
tokens during expansion (%+ tokens have late binding semantics.)

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
preproc.c
test/weirdpaste.asm