diff options
Diffstat (limited to 'mesonast.py')
-rwxr-xr-x | mesonast.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonast.py b/mesonast.py index e24c31e..f0f09e8 100755 --- a/mesonast.py +++ b/mesonast.py @@ -35,7 +35,7 @@ if __name__ == '__main__': source_root = sys.argv[1] ast = mesonbuild.astinterpreter.AstInterpreter(source_root, '') try: - ast.dump() + ast.add_source('trivialprog', 'newfile.c') except Exception as e: if isinstance(e, MesonException): if hasattr(e, 'file') and hasattr(e, 'lineno') and hasattr(e, 'colno'): |