possible to return dynamic arrays

This commit is contained in:
David Halter
2012-08-22 11:44:45 +02:00
parent 9c09de6245
commit d85184d387
5 changed files with 142 additions and 8 deletions

View File

@@ -653,7 +653,7 @@ class Execution(Executable):
Call the default method with the own instance (self implements all
the necessary functions). Add also the params.
"""
return self.get_params() + parsing.Scope._get_set_vars(self)
return self.get_params() + parsing.Scope.get_set_vars(self)
def copy_properties(self, prop):
# Copy all these lists into this local function.
@@ -691,6 +691,9 @@ class Execution(Executable):
def subscopes(self):
return self.copy_properties('subscopes')
def get_statement_for_position(self, pos):
return parsing.Scope.get_statement_for_position(self, pos)
def __repr__(self):
return "<%s of %s>" % \
(self.__class__.__name__, self.base)