Renamed 'sunScriptException' to 'sunSourceException'.

This commit is contained in:
arookas 2015-12-13 00:57:21 -05:00
parent dfde9c2b20
commit 6edee006ad
3 changed files with 8 additions and 8 deletions
frontend

View file

@ -35,9 +35,9 @@ namespace arookas
}
else
{
if (results.Error is sunScriptException)
if (results.Error is sunSourceException)
{
var error = results.Error as sunScriptException;
var error = results.Error as sunSourceException;
Error(" in file \"{0}\"\n at line {1}, col {2}\n\n{3}{4}", error.Location.File, error.Location.Line, error.Location.Column, GetErrorPreview(error.Location), error.Message);
exitCode = 1;
}