diff options
Diffstat (limited to 'src/openscad.cc')
-rw-r--r-- | src/openscad.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openscad.cc b/src/openscad.cc index f7db633..1c9c8df 100644 --- a/src/openscad.cc +++ b/src/openscad.cc @@ -299,6 +299,7 @@ int main(int argc, char **argv) fclose(fp); text << commandline_commands; root_module = parse(text.str().c_str(), fileInfo.absolutePath().toLocal8Bit(), false); + if (!root_module) exit(1); } QDir::setCurrent(fileInfo.absolutePath()); |