mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
macro_body parse function shouldn't skip whitespace inside
This commit is contained in:
parent
6c0b4a46fe
commit
a56c224f9c
1 changed files with 0 additions and 3 deletions
3
ftepp.c
3
ftepp.c
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue