Skip to content

Commit

Permalink
main not found
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabi-02 committed May 25, 2022
1 parent 0f05c0d commit bcce352
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public HashMap<String, byte[]> generateBytecode(Program program) {
public static HashMap<String, byte[]> generate(Program program) {
ProgramGenerator pg = new ProgramGenerator();
pg.generateBytecode(program);
System.out.println(pg);
// System.out.println(pg);
return pg.getBytecode();
}

Expand Down
2 changes: 2 additions & 0 deletions HouseOfCompiler/src/main/java/common/Compiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ public void generateJar(InputStream inputStream, String outFile) {
} catch (IOException e) {
e.printStackTrace();
}
} else {
System.err.println("No unique main method found.");
}
}

Expand Down

0 comments on commit bcce352

Please sign in to comment.