diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-06-14 14:35:42 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-06-14 14:35:42 -0400 |
commit | fbfd8e534c7e47b82f10d5c434328a28658b10dc (patch) | |
tree | cffb40b5da238fcbf56ea015d8187b063890c821 /ast.c | |
parent | a04ee9ff196726d48da67d5b95611c118184a815 (diff) |
Add support for multiple comma separated expressions
Diffstat (limited to 'ast.c')
-rw-r--r-- | ast.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -131,11 +131,11 @@ ast_statement_new_definition (ast_definition_t *def) } ast_statement_t * -ast_statement_new_print (ast_expression_t *expr) +ast_statement_new_print (ast_expression_t **exprs) { ast_statement_t *statement = statement_new (AST_PRINT_STATEMENT); - statement->print.expr = expr; + statement->print.exprs = exprs; g_assert (statement->common.type == AST_PRINT_STATEMENT); |