mirror of
https://github.com/ZDoom/acc.git
synced 2024-11-14 08:31:05 +00:00
Changed several Err_Exit calls to behave the same way all the other Err_Exit calls do.
This commit is contained in:
parent
0f40a7aebe
commit
8b958ecbae
2 changed files with 3 additions and 3 deletions
4
parse.c
4
parse.c
|
@ -4626,7 +4626,7 @@ void SkipBraceBlock(int depth)
|
|||
{
|
||||
if(tk_Token == TK_EOF)
|
||||
{
|
||||
ERR_Exit(ERR_EOF, NO);
|
||||
ERR_Exit(ERR_EOF, YES, NULL);
|
||||
}
|
||||
TK_NextToken();
|
||||
}
|
||||
|
@ -4638,7 +4638,7 @@ void SkipBraceBlock(int depth)
|
|||
TK_NextToken();
|
||||
if(tk_Token == TK_EOF)
|
||||
{
|
||||
ERR_Exit(ERR_EOF, NO);
|
||||
ERR_Exit(ERR_EOF, YES, NULL);
|
||||
}
|
||||
else if (tk_Token == TK_LBRACE)
|
||||
{
|
||||
|
|
2
token.c
2
token.c
|
@ -634,7 +634,7 @@ tokenType_t TK_NextToken(void)
|
|||
ImportMode = prevMode;
|
||||
if(!ExporterFlagged)
|
||||
{
|
||||
ERR_Exit(ERR_EXPORTER_NOT_FLAGGED, NO);
|
||||
ERR_Exit(ERR_EXPORTER_NOT_FLAGGED, YES, NULL);
|
||||
}
|
||||
SY_ClearShared();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue