summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/front/ast.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/front/ast.py b/src/front/ast.py
index 8b86cdd..a3613c2 100644
--- a/src/front/ast.py
+++ b/src/front/ast.py
@@ -82,9 +82,7 @@ class Sequence(Statement):
def generate(self, before, after, last):
self.debug("Sequence.generate(before = %d, after = %d): %s" % (before, after, repr(self)))
- if not self.s1:
- self.s2.generate(before, after, last)
- elif not self.s2:
+ if not self.s2:
self.s1.generate(before, after, last)
else:
label = self.newlabel()