Assign expressions to statements.

pull/15/head
Jussi Pakkanen 12 years ago
parent 5545518de1
commit 5e0888c3db
  1. 2
      builder.py

@ -102,7 +102,7 @@ def p_statement_method_call(t):
def p_statement_expression(t): def p_statement_expression(t):
'statement : expression' 'statement : expression'
#print('s-e: ' + t[1]) #print('s-e: ' + t[1])
pass t[0] = t[1]
def p_args_multiple(t): def p_args_multiple(t):
'args : statement COMMA args' 'args : statement COMMA args'

Loading…
Cancel
Save