mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 14:12:36 +00:00
more context copies
This commit is contained in:
parent
53b9906242
commit
a4c6382fa4
1 changed files with 1 additions and 0 deletions
1
ast.c
1
ast.c
|
@ -854,6 +854,7 @@ bool ast_local_codegen(ast_value *self, ir_function *func, bool param)
|
|||
v = ir_function_create_local(func, self->name, self->expression.vtype, param);
|
||||
if (!v)
|
||||
return false;
|
||||
v->context = ast_ctx(self);
|
||||
|
||||
/* A constant local... hmmm...
|
||||
* I suppose the IR will have to deal with this
|
||||
|
|
Loading…
Reference in a new issue