Skip to content

Commit

Permalink
deleted prefix in files
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelsack committed Jun 1, 2022
1 parent 374c287 commit 5a53249
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion HouseOfCompiler/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"type": "java",
"name": "Launch Main",
Expand Down
12 changes: 3 additions & 9 deletions HouseOfCompiler/Test.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
class Test {
class Tst {

void main() {
char i = 1;
i++;
boolean x = true;
x++;
int a = 1;
a++;
System.out.println('t');
public static void main(String[] args) {
int a = 1 / 0;
}

}
2 changes: 1 addition & 1 deletion HouseOfCompiler/src/main/java/common/Compiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public void compile(InputStream inputStream, String outDir) throws SemanticError
Program tast = tastAdapter.getTast(program);
var bc = programGenerator.generateBytecode(tast);
// Write the bytecode to a file
var prefix = className + "$";
var prefix = "";
// Create folder build if it does not exist
var buildFolder = new File(outDir);
if (!buildFolder.exists()) {
Expand Down

0 comments on commit 5a53249

Please sign in to comment.