aboutsummaryrefslogtreecommitdiff
path: root/interpreter.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-11-07 19:05:15 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2014-11-07 19:05:15 +0200
commite5b1d855a176551573fb43775d2ef6bc67cc9b4d (patch)
tree49e351e3b8feeea9503d66d89639498bc696fb3b /interpreter.py
parent188986fac37aa0c12b645283dbe12cabb6cf6822 (diff)
downloadmeson-e5b1d855a176551573fb43775d2ef6bc67cc9b4d.zip
meson-e5b1d855a176551573fb43775d2ef6bc67cc9b4d.tar.gz
meson-e5b1d855a176551573fb43775d2ef6bc67cc9b4d.tar.bz2
Further harmonise held_object.
Diffstat (limited to 'interpreter.py')
-rw-r--r--interpreter.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/interpreter.py b/interpreter.py
index b1616fb..e2a7b16 100644
--- a/interpreter.py
+++ b/interpreter.py
@@ -216,7 +216,7 @@ class GeneratorHolder(InterpreterObject):
def __init__(self, interpreter, args, kwargs):
super().__init__()
self.interpreter = interpreter
- self.generator = build.Generator(args, kwargs)
+ self.held_object = build.Generator(args, kwargs)
self.methods.update({'process' : self.process_method})
def process_method(self, args, kwargs):
@@ -236,10 +236,10 @@ class GeneratorHolder(InterpreterObject):
class GeneratedListHolder(InterpreterObject):
def __init__(self, generator):
super().__init__()
- self.glist = build.GeneratedList(generator)
+ self.held_object = build.GeneratedList(generator)
def add_file(self, a):
- self.glist.add_file(a)
+ self.held_object.add_file(a)
class Build(InterpreterObject):
def __init__(self):
@@ -271,7 +271,7 @@ class Host(InterpreterObject):
class IncludeDirsHolder(InterpreterObject):
def __init__(self, curdir, dirs, kwargs):
super().__init__()
- self.includedirs = build.IncludeDirs(curdir, dirs, kwargs)
+ self.held_object = build.IncludeDirs(curdir, dirs, kwargs)
class Headers(InterpreterObject):