mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-01-06 00:28:49 +01:00
Minor
This commit is contained in:
parent
00568ce0f6
commit
1d7f2cc63d
13
src/config.c
13
src/config.c
@ -249,13 +249,7 @@ static int commands(void)
|
||||
|
||||
static int parse(void)
|
||||
{
|
||||
#ifndef PARSE_DEBUG
|
||||
next_token();
|
||||
if (commands() == STAT_ERR)
|
||||
return ERR;
|
||||
#endif
|
||||
|
||||
#ifdef PARSE_DEBUG
|
||||
#ifdef DEBUG_LEXER
|
||||
while (1) {
|
||||
next_token();
|
||||
if (token.type == TOK_EOF)
|
||||
@ -274,6 +268,11 @@ static int parse(void)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#ifndef DEBUG_LEXER
|
||||
next_token();
|
||||
if (commands() == STAT_ERR)
|
||||
return ERR;
|
||||
#endif
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user