From 5e0888c3db68fa1f238df34fccad284addf95d6a Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Tue, 25 Dec 2012 19:22:31 +0200 Subject: [PATCH] Assign expressions to statements. --- builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder.py b/builder.py index 8f31fcf9a..d0c3b9d97 100755 --- a/builder.py +++ b/builder.py @@ -102,7 +102,7 @@ def p_statement_method_call(t): def p_statement_expression(t): 'statement : expression' #print('s-e: ' + t[1]) - pass + t[0] = t[1] def p_args_multiple(t): 'args : statement COMMA args'