mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-17 17:11:32 +00:00
Merge branch 'master' into blub/bc3
This commit is contained in:
commit
b22a76a152
2 changed files with 1 additions and 3 deletions
3
ast.c
3
ast.c
|
@ -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
1
ast.h
|
@ -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*);
|
||||
|
||||
|
|
Loading…
Reference in a new issue