comparison python/c3/astnodes.py @ 249:e41e4109addd

Added current position arrow
author Windel Bouwman
date Fri, 26 Jul 2013 20:26:05 +0200
parents 88a1e0baef65
children 6ed3d3a82a63
comparison
equal deleted inserted replaced
248:b10d46e5c8dd 249:e41e4109addd
240 self.loc = loc 240 self.loc = loc
241 241
242 242
243 class CompoundStatement(Statement): 243 class CompoundStatement(Statement):
244 def __init__(self, statements): 244 def __init__(self, statements):
245 super().__init__(None)
245 self.statements = statements 246 self.statements = statements
246 for s in self.statements: 247 for s in self.statements:
247 assert isinstance(s, Statement) 248 assert isinstance(s, Statement)
248 249
249 def __repr__(self): 250 def __repr__(self):