mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 12:00:38 +00:00
Fixing indentation
This commit is contained in:
parent
0c75182aab
commit
bd5b2a8b58
1 changed files with 319 additions and 309 deletions
10
ftepp.c
10
ftepp.c
|
@ -235,6 +235,13 @@ static bool ftepp_if_expr(ftepp_t *ftepp, bool *out)
|
|||
ftepp_error(ftepp, "junk in #if");
|
||||
return false;
|
||||
}
|
||||
|
||||
ftepp_next(ftepp);
|
||||
if (!ftepp_skipspace(ftepp))
|
||||
return false;
|
||||
|
||||
switch (ftepp->token) {
|
||||
}
|
||||
}
|
||||
(void)ftepp_next(ftepp);
|
||||
return true;
|
||||
|
@ -244,6 +251,8 @@ static bool ftepp_if(ftepp_t *ftepp, ppcondition *cond)
|
|||
{
|
||||
bool result = false;
|
||||
|
||||
ftepp->lex->flags.noops = false;
|
||||
|
||||
memset(cond, 0, sizeof(*cond));
|
||||
(void)ftepp_next(ftepp);
|
||||
|
||||
|
@ -256,6 +265,7 @@ static bool ftepp_if(ftepp_t *ftepp, ppcondition *cond)
|
|||
|
||||
if (!ftepp_if_expr(ftepp, &result))
|
||||
return false;
|
||||
ftepp->lex->flags.noops = true;
|
||||
|
||||
cond->on = result;
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue