Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make sure compiler error messages have a final newline to avoid confu…
…sing readline
  • Loading branch information
sorear committed Jun 15, 2013
1 parent bfee017 commit 580a904
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/HLL/Compiler.nqp
Expand Up @@ -269,6 +269,7 @@ class HLL::Compiler does HLL::Backend::Default {
nqp::printfh($err, nqp::getmessage($error));
nqp::printfh($err, "\n");
nqp::printfh($err, nqp::join("\n", nqp::backtracestrings($error)));
nqp::printfh($err, "\n");
nqp::exit(1);
} else {
self.handle-exception($error);
Expand Down

0 comments on commit 580a904

Please sign in to comment.