Merge branch 'master' into blub/bc3

This commit is contained in:
Wolfgang Bumiller 2012-07-26 23:24:12 +02:00
commit b22a76a152
2 changed files with 1 additions and 3 deletions

3
ast.c
View file

@ -212,8 +212,7 @@ void ast_unary_delete(ast_unary *self)
mem_d(self);
}
ast_return* ast_return_new(lex_ctx ctx, int op,
ast_expression *expr)
ast_return* ast_return_new(lex_ctx ctx, ast_expression *expr)
{
ast_instantiate(ast_return, ctx, ast_return_delete);
ast_expression_init((ast_expression*)self, (ast_expression_codegen*)&ast_return_codegen);

1
ast.h
View file

@ -182,7 +182,6 @@ struct ast_return_s
ast_expression *operand;
};
ast_return* ast_return_new(lex_ctx ctx,
int op,
ast_expression *expr);
void ast_return_delete(ast_return*);