First acceptable solution
This commit is contained in:
@@ -125,7 +125,6 @@ class IF(compiler.IF):
|
||||
|
||||
# Attach junction node
|
||||
diamond = CFG_DIAMOND(self.cond)
|
||||
diamond.label = "<?>"
|
||||
cond_node.add_child(diamond)
|
||||
|
||||
# Define start and end entry and unwraps expressions
|
||||
@@ -164,7 +163,6 @@ class WHILE(compiler.WHILE):
|
||||
|
||||
# Attach junction node
|
||||
diamond = CFG_DIAMOND(self.cond)
|
||||
diamond.label = "<?>"
|
||||
comp_node.add_child(diamond)
|
||||
|
||||
# Unwrap the loop body
|
||||
|
||||
Reference in New Issue
Block a user