aboutsummaryrefslogtreecommitdiff
path: root/projects/Stacker/lib/compiler/StackerCompiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'projects/Stacker/lib/compiler/StackerCompiler.cpp')
-rw-r--r--projects/Stacker/lib/compiler/StackerCompiler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/projects/Stacker/lib/compiler/StackerCompiler.cpp b/projects/Stacker/lib/compiler/StackerCompiler.cpp
index b9e41a889c..a6d3995045 100644
--- a/projects/Stacker/lib/compiler/StackerCompiler.cpp
+++ b/projects/Stacker/lib/compiler/StackerCompiler.cpp
@@ -110,8 +110,9 @@ StackerCompiler::compile(
if (F == 0)
{
- throw ParseException(filename,
- "Could not open file '" + filename + "'");
+ ParseError Err;
+ Err.setError(filename, "Could not open file '" + filename + "'");
+ throw Err;
}
}