diff --git a/source/tlang/commandline/commands.d b/source/tlang/commandline/commands.d index 1cf490ee..f0f1cda9 100644 --- a/source/tlang/commandline/commands.d +++ b/source/tlang/commandline/commands.d @@ -211,6 +211,7 @@ struct lexCommand catch(TError t) { gprintln(t.msg, DebugType.ERROR); + exit(-1); } catch(ErrnoException e) { @@ -260,6 +261,7 @@ struct parseCommand catch(TError t) { gprintln(t.msg, DebugType.ERROR); + exit(-1); } catch(ErrnoException e) { @@ -311,6 +313,7 @@ struct typecheckCommand catch(TError t) { gprintln(t.msg, DebugType.ERROR); + exit(-1); } catch(ErrnoException e) {