Commit 92454a4a authored by Johannes Mey's avatar Johannes Mey
Browse files

fix main method definition

parent 5f4cbbf8
......@@ -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);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment