]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
macro_body parse function shouldn't skip whitespace inside
authorWolfgang (Blub) Bumiller <blub@speed.at>
Fri, 16 Nov 2012 19:50:28 +0000 (20:50 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Fri, 16 Nov 2012 19:50:28 +0000 (20:50 +0100)
ftepp.c

diff --git a/ftepp.c b/ftepp.c
index fcdaea7a86a17d6abded8e446f3329d63871e10e..7fe6b426e4e716794da2a1df08d4d317ae4bae27 100644 (file)
--- a/ftepp.c
+++ b/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");