Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
nicer error message of &evalfiles
  • Loading branch information
Filip Sergot committed Feb 26, 2012
1 parent aee97aa commit d85df9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HLL/Compiler.pm
Expand Up @@ -398,11 +398,11 @@ class HLL::Compiler {
pir::push(@codes, $in-handle.readall($_));
$in-handle.close;
CATCH {
$err := 1;
$err := $_;
}
}
if $err {
say("Cannot open \"$_\".");
say($err);
pir::exit(1);
}
}
Expand Down

0 comments on commit d85df9e

Please sign in to comment.