mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
initialize the ast_expression node in ast_type_copy properly
This commit is contained in:
parent
4cf017bb6b
commit
9ffb79111f
1 changed files with 1 additions and 0 deletions
1
ast.c
1
ast.c
|
@ -125,6 +125,7 @@ static ast_expression* ast_type_copy(lex_ctx ctx, const ast_expression *ex)
|
|||
else
|
||||
{
|
||||
ast_instantiate(ast_expression, ctx, ast_expression_delete_full);
|
||||
ast_expression_init(self, NULL);
|
||||
|
||||
fromex = &ex->expression;
|
||||
selfex = &self->expression;
|
||||
|
|
Loading…
Reference in a new issue