diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-06-30 01:53:37 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-06-30 01:53:37 +0300 |
commit | a52336b4294b72019587257d0848d42c0e2400fc (patch) | |
tree | 759f1f54b15242c207c0784fdc6cc255c53c4a42 /mparser.py | |
parent | 5e2278d6d4e2337c05b2f4e583dc8620b90e9add (diff) | |
download | meson-a52336b4294b72019587257d0848d42c0e2400fc.zip meson-a52336b4294b72019587257d0848d42c0e2400fc.tar.gz meson-a52336b4294b72019587257d0848d42c0e2400fc.tar.bz2 |
Can invoke methods on general statements and not just variable names.
Diffstat (limited to 'mparser.py')
-rw-r--r-- | mparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -168,7 +168,7 @@ def p_statement_func_call(t): t[0] = nodes.FunctionCall(t[1], t[3], t[1].lineno()) def p_statement_method_call(t): - 'statement : expression DOT expression LPAREN args RPAREN' + 'statement : statement DOT expression LPAREN args RPAREN' t[0] = nodes.MethodCall(t[1], t[3], t[5], t[1].lineno()) def p_statement_if(t): |