preproc: handle %+ even during early token replacement

Preexisting code seems to rely on %+ being processed even during early
token replacement, e.g. Syslinux contains the following code:

%macro          superb 1
bx %+ %1        equ SuperInfo+($-superblock)*8+4
bs %+ %1        equ $
                zb 1
%endmacro

... which is expected to work when invoked as:

                superb Media

As a result, set handle_paste_tokens to true at all times; assuming
this turns out to be the way things are we can really just remove it
as an option.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin 2009-05-04 10:11:22 -07:00
parent 0bff6a48fd
commit ba7a0d0566

View file

@ -3583,7 +3583,7 @@ static Token *expand_mmac_params(Token * tline)
*tail = NULL;
if (changed)
paste_tokens(&thead, false);
paste_tokens(&thead, true);
return thead;
}