mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
better test loop
This commit is contained in:
parent
b5970707c0
commit
5bef2f2870
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ bool preprocess(const char *filename)
|
||||||
printf("\n");
|
printf("\n");
|
||||||
else if (tok >= TOKEN_START && tok < TOKEN_EOF)
|
else if (tok >= TOKEN_START && tok < TOKEN_EOF)
|
||||||
printf("%s", lex->tok.value);
|
printf("%s", lex->tok.value);
|
||||||
else
|
else if (tok < TOKEN_START)
|
||||||
printf("%c", tok);
|
printf("%c", tok); /* these are characters */
|
||||||
#endif
|
#endif
|
||||||
} while (tok < TOKEN_EOF);
|
} while (tok < TOKEN_EOF);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue