Home
last modified time | relevance | path

Searched refs:new_var (Results 1 – 2 of 2) sorted by relevance

/reactos/dll/win32/vbscript/
H A Dinterp.c210 dynamic_var_t *new_var; in add_dynamic_var() local
217 new_var = heap_pool_alloc(heap, sizeof(*new_var)); in add_dynamic_var()
218 if(!new_var) in add_dynamic_var()
226 new_var->name = str; in add_dynamic_var()
227 new_var->is_const = is_const; in add_dynamic_var()
228 V_VT(&new_var->v) = VT_EMPTY; in add_dynamic_var()
232 ctx->script->global_vars = new_var; in add_dynamic_var()
234 new_var->next = ctx->dynamic_vars; in add_dynamic_var()
235 ctx->dynamic_vars = new_var; in add_dynamic_var()
238 *out_var = &new_var->v; in add_dynamic_var()
[all …]
H A Dcompile.c1412 dynamic_var_t *new_var; in compile_func() local
1417 new_var = compiler_alloc(ctx->code, sizeof(*new_var)); in compile_func()
1418 if(!new_var) in compile_func()
1421 new_var->name = compiler_alloc_string(ctx->code, dim_decl->name); in compile_func()
1422 if(!new_var->name) in compile_func()
1425 V_VT(&new_var->v) = VT_EMPTY; in compile_func()
1426 new_var->is_const = FALSE; in compile_func()
1428 new_var->next = ctx->global_vars; in compile_func()
1429 ctx->global_vars = new_var; in compile_func()