diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-01-25 21:29:59 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-01-25 21:29:59 +0200 |
commit | b2df86d5ccf49ccc1b4489a4a0ab47175d007df9 (patch) | |
tree | 174cc248b9bd1be97addaf9b166dba7650a2ee3b /interpreter.py | |
parent | 81fbb83f84cd7c1180d4c9d16f6e48eb8961c4ad (diff) | |
download | meson-b2df86d5ccf49ccc1b4489a4a0ab47175d007df9.zip meson-b2df86d5ccf49ccc1b4489a4a0ab47175d007df9.tar.gz meson-b2df86d5ccf49ccc1b4489a4a0ab47175d007df9.tar.bz2 |
Renamed EQUALS.
Diffstat (limited to 'interpreter.py')
-rwxr-xr-x | interpreter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interpreter.py b/interpreter.py index 497498f..6b229b8 100755 --- a/interpreter.py +++ b/interpreter.py @@ -258,7 +258,7 @@ class Interpreter(): if node is None: return if not isinstance(node, nodes.CodeBlock): - raise InvalidCode('Tried to execute a non-codeblock. Possibly a bug in the parser.') + raise InvalidCode('Line %d: Tried to execute a non-codeblock. Possibly a bug in the parser.' % node.lineno()) statements = node.get_statements() i = 0 while i < len(statements): |