- use a separate exception type for reporting errors from FraggleScript.

CRecoverableError is used in other parts as well and it might create interference.
This commit is contained in:
Christoph Oelckers 2016-12-02 16:56:50 +01:00
commit 967f6c0269
4 changed files with 27 additions and 5 deletions

View file

@ -251,7 +251,7 @@ void DFsScript::ParseScript(char *position)
FParser parse(this);
parse.Run(position, data, data + len);
}
catch (CRecoverableError &err)
catch (CFraggleScriptError &err)
{
Printf ("%s\n", err.GetMessage());
}