Skip to content
Snippets Groups Projects
Commit 92454a4a authored by Johannes Mey's avatar Johannes Mey
Browse files

fix main method definition

parent 5f4cbbf8
No related branches found
No related tags found
No related merge requests found
......@@ -65,12 +65,12 @@ public class Compiler {
}
public static int main(String[] args) {
public static void main(String[] args) {
try {
return new Compiler().run(args);
new Compiler().run(args);
} catch (CommandLineException | CompilerException e) {
System.err.println(e.getMessage());
return 1;
System.exit(-1);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment