Mercurial > lcfOS
diff python/ppci/c3/codegenerator.py @ 360:42343d189e14
Bugfix in for loop
author | Windel Bouwman |
---|---|
date | Fri, 14 Mar 2014 16:11:32 +0100 |
parents | 5477e499b039 |
children | c05ab629976a |
line wrap: on
line diff
--- a/python/ppci/c3/codegenerator.py Fri Mar 14 15:41:55 2014 +0100 +++ b/python/ppci/c3/codegenerator.py Fri Mar 14 16:11:32 2014 +0100 @@ -156,6 +156,7 @@ self.gen_cond_code(code.condition, bbdo, te) self.setBlock(bbdo) self.genCode(code.statement) + self.genCode(code.final) self.emit(ir.Jump(bbtest)) self.setBlock(te) else: