(untested) should hide errors in scripts
This commit is contained in:
@@ -158,6 +158,7 @@ int ParsePart(){
|
||||
gfx_printf("Parsing error...\nPress any key to continue");
|
||||
btn_wait();
|
||||
forceExit = true;
|
||||
printerrors = true;
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -189,6 +190,8 @@ void ParseScript(char* path){
|
||||
return;
|
||||
}
|
||||
|
||||
printerrors = false;
|
||||
|
||||
while (!forceExit){
|
||||
currentchar = GetNextByte();
|
||||
|
||||
@@ -279,5 +282,6 @@ void ParseScript(char* path){
|
||||
}
|
||||
}
|
||||
|
||||
printerrors = true;
|
||||
f_close(&in);
|
||||
}
|
||||
Reference in New Issue
Block a user