Changed several Err_Exit calls to behave the same way all the other Err_Exit calls do.

This commit is contained in:
MaxED 2016-02-02 14:29:32 +03:00
parent 0f40a7aebe
commit 8b958ecbae
2 changed files with 3 additions and 3 deletions

View file

@ -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)
{

View file

@ -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();
}