aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/rewriter.py
diff options
context:
space:
mode:
authorDaniel Schulte <trilader@schroedingers-bit.net>2018-09-16 16:00:48 +0200
committerDaniel Schulte <trilader@schroedingers-bit.net>2018-11-26 23:10:53 +0100
commit4c5ec911359a3a91ef3ba1c1336f084649afbe18 (patch)
tree966671e20b2ea033213d5476e5d21dad24d838b1 /mesonbuild/rewriter.py
parent37ffff0aeddaf1f7a92076559484b9a6bce8c455 (diff)
downloadmeson-4c5ec911359a3a91ef3ba1c1336f084649afbe18.zip
meson-4c5ec911359a3a91ef3ba1c1336f084649afbe18.tar.gz
meson-4c5ec911359a3a91ef3ba1c1336f084649afbe18.tar.bz2
Split AstInterpreter into base class and RewriterInterpreter
Diffstat (limited to 'mesonbuild/rewriter.py')
-rw-r--r--mesonbuild/rewriter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/rewriter.py b/mesonbuild/rewriter.py
index 5da8c89..37ed7ef 100644
--- a/mesonbuild/rewriter.py
+++ b/mesonbuild/rewriter.py
@@ -41,7 +41,7 @@ def run(options):
if options.target is None or options.filename is None:
sys.exit("Must specify both target and filename.")
print('This tool is highly experimental, use with care.')
- rewriter = mesonbuild.astinterpreter.AstInterpreter(options.sourcedir, '')
+ rewriter = mesonbuild.astinterpreter.RewriterInterpreter(options.sourcedir, '')
try:
if options.commands[0] == 'add':
rewriter.add_source(options.target, options.filename)