ternary operators work now, list comprehensions preparation

This commit is contained in:
David Halter
2012-06-26 00:42:19 +02:00
parent e7a579ce31
commit c4d74c3521
3 changed files with 48 additions and 8 deletions

View File

@@ -633,6 +633,9 @@ class Statement(Simple):
if close_brackets:
result = result.parent
close_brackets = False
if result.__class__ == Call:
result = result.parent
close_brackets = False
call = Call(tok, c_type, self, result)
result.add_to_current_field(call)
result = call