aboutsummaryrefslogtreecommitdiffstats
path: root/jsonCompiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jsonCompiler.cpp')
-rw-r--r--jsonCompiler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/jsonCompiler.cpp b/jsonCompiler.cpp
index 340713b1..bde13762 100644
--- a/jsonCompiler.cpp
+++ b/jsonCompiler.cpp
@@ -147,6 +147,10 @@ string compile(string _input, bool _optimize)
{
return formatError(exception, "Internal compiler error", compiler);
}
+ catch (DocstringParsingError const& exception)
+ {
+ return formatError(exception, "Documentation parsing error", compiler);
+ }
catch (Exception const& exception)
{
output["error"] = "Exception during compilation: " + boost::diagnostic_information(exception);