Commit 9fa55601 authored by Christopher Happe's avatar Christopher Happe
Browse files

Refactor: Nicht erreichbare Bedingung entfernt

parent b01c5f0c
......@@ -121,10 +121,8 @@ class WHILEInterpreter(LOOPInterpreter):
elif token.k == 'END':
end_found = True
if identifier_token.v in self.values:
while_value = int(self.values.get(identifier_token.v))
while_value = 0
while_value = int(self.values.get(identifier_token.v))
return self.next_token()
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