mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-26 18:18:03 +00:00
move main method out of loop
This commit is contained in:
parent
a59ac5ef23
commit
c4c2c459f0
@ -75,13 +75,13 @@ public class TypedClass implements TypedNode {
|
||||
for (Method method : c.methods()) {
|
||||
enterCurrentMethod(typedMethods.get(j));
|
||||
typedMethods.get(j).convertToTypedBlock(typedProgram, method);
|
||||
// Hier wird der Block des main-Methode ausgeführt
|
||||
if (c.mainmeth() != null) {
|
||||
mainMethodBlock = new TypedBlock(typedProgram, c.mainmeth());
|
||||
}
|
||||
exitCurrentMethod();
|
||||
j++;
|
||||
}
|
||||
// Hier wird der Block des main-Methode ausgeführt
|
||||
if (c.mainmeth() != null) {
|
||||
mainMethodBlock = new TypedBlock(typedProgram, c.mainmeth());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user