Home
last modified time | relevance | path

Searched refs:SOURCING_LNUM (Results 1 – 19 of 19) sorted by relevance

/vim-8.2.3635/src/
H A Dvim9execute.c2102 SOURCING_LNUM = iptr->isn_lnum; in exec_instructions()
2151 SOURCING_LNUM = iptr->isn_lnum; in exec_instructions()
2276 SOURCING_LNUM = iptr->isn_lnum; in exec_instructions()
2336 SOURCING_LNUM = iptr->isn_lnum; in exec_instructions()
2406 SOURCING_LNUM = iptr->isn_lnum; in exec_instructions()
2417 SOURCING_LNUM = iptr->isn_lnum; in exec_instructions()
2512 SOURCING_LNUM = iptr->isn_lnum; in exec_instructions()
2610 SOURCING_LNUM = iptr->isn_lnum; in exec_instructions()
3066 SOURCING_LNUM = iptr->isn_lnum; in exec_instructions()
3076 SOURCING_LNUM = iptr->isn_lnum; in exec_instructions()
[all …]
H A Duserfunc.c684 sourcing_lnum_off -= SOURCING_LNUM; in get_function_body()
1216 lnum_save = SOURCING_LNUM; in lambda_function_body()
1222 SOURCING_LNUM = lnum_save; in lambda_function_body()
1256 SOURCING_LNUM = lnum_save; in lambda_function_body()
4358 SOURCING_LNUM = save_lnum; in define_function()
4432 SOURCING_LNUM = lnum_save; in define_function()
4440 SOURCING_LNUM = lnum_save; in define_function()
4443 SOURCING_LNUM = lnum_save; in define_function()
5225 SOURCING_LNUM); in get_func_line()
5248 SOURCING_LNUM = fcp->linenr; in get_func_line()
[all …]
H A Dscriptfile.c166 lnum = which == ESTACK_STACK ? SOURCING_LNUM : 0; in estack_sfile()
1227 SOURCING_LNUM, fname); in do_source()
1242 smsg(_("line %ld: sourcing \"%s\""), SOURCING_LNUM, fname); in do_source()
1628 : SOURCING_LNUM; in get_sourced_lnum()
1762 sp->breakpoint = dbg_find_breakpoint(TRUE, sp->fname, SOURCING_LNUM); in getsourceline()
1772 SOURCING_LNUM = sp->sourcing_lnum + 1; in getsourceline()
1880 if (sp->breakpoint != 0 && sp->breakpoint <= SOURCING_LNUM) in getsourceline()
1882 dbg_breakpoint(sp->fname, SOURCING_LNUM); in getsourceline()
1884 sp->breakpoint = dbg_find_breakpoint(TRUE, sp->fname, SOURCING_LNUM); in getsourceline()
H A Ddebugger.c112 if (SOURCING_LNUM != 0) in do_debug()
113 smsg(_("line %ld: %s"), SOURCING_LNUM, cmd); in do_debug()
391 if (SOURCING_LNUM != 0) in do_showbacktrace()
392 smsg(_("line %ld: %s"), (long)SOURCING_LNUM, cmd); in do_showbacktrace()
H A Dex_eval.c294 elem->slnum = SOURCING_LNUM; in cause_errthrow()
562 excp->throw_lnum = SOURCING_LNUM; in throw_exception()
920 long lnum = SOURCING_LNUM; in ex_eval()
930 if (in_vim9script() && name_only && lnum == SOURCING_LNUM) in ex_eval()
1248 long save_lnum = SOURCING_LNUM; in ex_while()
1255 SOURCING_LNUM = save_lnum; in ex_while()
H A Dprofiler.c949 if (si->sn_prof_on && SOURCING_LNUM >= 1) in script_line_start()
954 (int)(SOURCING_LNUM - si->sn_prl_ga.ga_len)); in script_line_start()
955 si->sn_prl_idx = SOURCING_LNUM - 1; in script_line_start()
H A Dtesting.c31 if (SOURCING_LNUM > 0) in prepare_assert_error()
34 if (SOURCING_LNUM > 0) in prepare_assert_error()
36 sprintf(buf, "line %ld", (long)SOURCING_LNUM); in prepare_assert_error()
39 if (sname != NULL || SOURCING_LNUM > 0) in prepare_assert_error()
H A Dmessage.c504 && (other_sourcing_name() || SOURCING_LNUM != last_sourcing_lnum) in get_emsg_lnum()
505 && SOURCING_LNUM != 0) in get_emsg_lnum()
510 sprintf((char *)Buf, (char *)p, (long)SOURCING_LNUM); in get_emsg_lnum()
538 last_sourcing_lnum = SOURCING_LNUM; // only once for each line in msg_source()
671 emsg_assert_fails_lnum = SOURCING_LNUM; in emsg_core()
2441 p, (long)SOURCING_LNUM); in inc_msg_scrolled()
H A Dex_docmd.c844 fname, SOURCING_LNUM); in do_cmdline()
853 && *breakpoint <= SOURCING_LNUM) in do_cmdline()
855 dbg_breakpoint(fname, SOURCING_LNUM); in do_cmdline()
859 fname, SOURCING_LNUM); in do_cmdline()
866 func_line_start(real_cookie, SOURCING_LNUM); in do_cmdline()
992 msg_verbose_cmd(SOURCING_LNUM, cmdline_copy); in do_cmdline()
1123 SOURCING_LNUM = in do_cmdline()
1488 SOURCING_LNUM = wp->lnum; in get_loop_line()
9106 if (SOURCING_NAME == NULL || SOURCING_LNUM == 0) in eval_vars()
9111 sprintf((char *)strbuf, "%ld", SOURCING_LNUM); in eval_vars()
[all …]
H A Dvim9script.c365 long start_lnum = SOURCING_LNUM; in handle_import()
474 SOURCING_LNUM = start_lnum; in handle_import()
H A Dvim9compile.c2721 SOURCING_LNUM = cctx->ctx_lnum + 1; in next_line_from_context()
2758 SOURCING_LNUM = cctx->ctx_lnum + 1; in may_get_next_line_error()
5255 long start_lnum = SOURCING_LNUM; in compile_and_or()
5278 save_sourcing_lnum = SOURCING_LNUM; in compile_and_or()
5279 SOURCING_LNUM = start_lnum; in compile_and_or()
6897 long start_lnum = SOURCING_LNUM; in compile_assignment()
7037 SOURCING_LNUM = start_lnum; in compile_assignment()
7149 SOURCING_LNUM = start_lnum; in compile_assignment()
8926 long lnum = SOURCING_LNUM; in compile_eval()
9154 int start_lnum = SOURCING_LNUM; in compile_exec()
[all …]
H A Dusercmd.c196 xp->xp_script_ctx.sc_lnum += SOURCING_LNUM; in find_ucmd()
989 cmd->uc_script_ctx.sc_lnum += SOURCING_LNUM; in uc_add_command()
H A Devalvars.c829 long cur_lnum = SOURCING_LNUM; in ex_let()
839 SOURCING_LNUM = cur_lnum; in ex_let()
897 cur_lnum = SOURCING_LNUM; in ex_let()
905 SOURCING_LNUM = cur_lnum; in ex_let()
H A Dmap.c267 mp->m_script_ctx.sc_lnum += SOURCING_LNUM; in map_add()
780 mp->m_script_ctx.sc_lnum += SOURCING_LNUM; in do_map()
H A Dhighlight.c642 hlgroup->sg_deflink_sctx.sc_lnum += SOURCING_LNUM; in highlight_group_link()
668 hlgroup->sg_script_ctx.sc_lnum += SOURCING_LNUM; in highlight_group_link()
1737 HL_TABLE()[idx].sg_script_ctx.sc_lnum += SOURCING_LNUM; in do_highlight()
H A Dautocmd.c1287 ac->script_ctx.sc_lnum += SOURCING_LNUM; in do_autocmd_event()
H A Dglobals.h294 #define SOURCING_LNUM (((estack_T *)exestack.ga_data)[exestack.ga_len - 1].es_lnum) macro
H A Deval.c6174 long start_lnum = SOURCING_LNUM; in ex_execute()
6229 SOURCING_LNUM = start_lnum; in ex_execute()
H A Doption.c2600 new_script_ctx.sc_lnum += SOURCING_LNUM; in set_option_sctx_idx()