Searched refs:sc_version (Results 1 – 14 of 14) sorted by relevance
30 return (current_sctx.sc_version == SCRIPT_VERSION_VIM9 in in_vim9script()43 return (current_sctx.sc_version < max_version in in_old_script()103 current_sctx.sc_version = SCRIPT_VERSION_VIM9; in ex_vim9script()113 current_sctx.sc_version = SCRIPT_VERSION_VIM9; in ex_vim9script()
987 cmd->uc_script_ctx.sc_version = SCRIPT_VERSION_VIM9; in uc_add_command()1773 current_sctx.sc_version = cmd->uc_script_ctx.sc_version; in do_ucmd()
1282 current_sctx.sc_version = 1; // default script version in do_source()1950 current_sctx.sc_version = nr; in ex_scriptversion()
1243 ufunc->uf_script_ctx_version = current_sctx.sc_version; in lambda_function_body()4470 fp->uf_script_ctx_version = current_sctx.sc_version; in define_function()4481 else if (fp->uf_script_ctx.sc_version == SCRIPT_VERSION_VIM9) in define_function()4483 fp->uf_script_ctx.sc_version = SCRIPT_VERSION_MAX; in define_function()
563 int save_sc_version = current_sctx.sc_version; in eval_to_string_safe()566 current_sctx.sc_version = 1; in eval_to_string_safe()578 current_sctx.sc_version = save_sc_version; in eval_to_string_safe()
426 script_ctx.sc_version = 1; in set_string_option_direct()
1285 ac->script_ctx.sc_version = SCRIPT_VERSION_VIM9; in do_autocmd_event()
3618 int save_version = current_sctx.sc_version; in f_exists()3622 if (current_sctx.sc_version == SCRIPT_VERSION_VIM9) in f_exists()3623 current_sctx.sc_version = SCRIPT_VERSION_MAX; in f_exists()3625 current_sctx.sc_version = save_version; in f_exists()
3315 current_sctx.sc_version = 1; in process_env()
8334 sst->save_script_version = current_sctx.sc_version; in save_current_state()8335 current_sctx.sc_version = 1; // not in Vim9 script in save_current_state()8359 current_sctx.sc_version = sst->save_script_version; in restore_current_state()
3777 int save_sc_version = current_sctx.sc_version; in get_lambda_tv_and_compile()3780 current_sctx.sc_version = SCRIPT_VERSION_VIM9; in get_lambda_tv_and_compile()3782 current_sctx.sc_version = save_sc_version; in get_lambda_tv_and_compile()9618 current_sctx.sc_version = SCRIPT_VERSION_VIM9; in compile_def_function()
91 int sc_version; // :scriptversion member
5544 current_sctx.sc_version = 1; in chk_modeline()
4893 current_sctx.sc_version = SCRIPT_VERSION_VIM9; in call_def_function()