Commit f9dc7f4a authored by Johannes Mey's avatar Johannes Mey
Browse files

fix main method definition

parent deaf7d5b
......@@ -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