macro_body parse function shouldn't skip whitespace inside

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-16 20:50:28 +01:00
parent 6c0b4a46fe
commit a56c224f9c

View file

@ -240,10 +240,7 @@ static bool ftepp_define_body(ftepp_t *ftepp, ppmacro *macro)
while (ftepp->token != TOKEN_EOL && ftepp->token < TOKEN_EOF) {
ptok = pptoken_make(ftepp);
vec_push(macro->output, ptok);
ftepp_next(ftepp);
if (!ftepp_skipspace(ftepp))
return false;
}
if (ftepp->token != TOKEN_EOL) {
ftepp_error(ftepp, "unexpected junk after macro or unexpected end of file");