annotate src/proto/scriptfile.pro @ 22208:a607f02fd17a v8.2.1653

patch 8.2.1653: expand('<stack>') does not include the final line number Commit: https://github.com/vim/vim/commit/4f25b1aba050b85fa97ca2316aa04dd4b0b22530 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 10 19:25:05 2020 +0200 patch 8.2.1653: expand('<stack>') does not include the final line number Problem: Expand('<stack>') does not include the final line number. Solution: Add the line nuber. (closes https://github.com/vim/vim/issues/6927)
author Bram Moolenaar <Bram@vim.org>
date Thu, 10 Sep 2020 19:30:05 +0200
parents a427f5f26419
children 15f40772e10a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17861
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 /* scriptfile.c */
18991
847cc7932c42 patch 8.2.0056: execution stack is incomplete and inefficient
Bram Moolenaar <Bram@vim.org>
parents: 17978
diff changeset
2 void estack_init(void);
847cc7932c42 patch 8.2.0056: execution stack is incomplete and inefficient
Bram Moolenaar <Bram@vim.org>
parents: 17978
diff changeset
3 estack_T *estack_push(etype_T type, char_u *name, long lnum);
21206
caab594592cc patch 8.2.1154: Vim9: crash when using imported function
Bram Moolenaar <Bram@vim.org>
parents: 20992
diff changeset
4 estack_T *estack_push_ufunc(ufunc_T *ufunc, long lnum);
20538
9f921ba86d05 patch 8.2.0823: Vim9: script reload test is disabled
Bram Moolenaar <Bram@vim.org>
parents: 20536
diff changeset
5 int estack_top_is_ufunc(ufunc_T *ufunc, long lnum);
21206
caab594592cc patch 8.2.1154: Vim9: crash when using imported function
Bram Moolenaar <Bram@vim.org>
parents: 20992
diff changeset
6 estack_T *estack_pop(void);
22208
a607f02fd17a patch 8.2.1653: expand('<stack>') does not include the final line number
Bram Moolenaar <Bram@vim.org>
parents: 21883
diff changeset
7 char_u *estack_sfile(estack_arg_T which);
17861
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 void ex_runtime(exarg_T *eap);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 int do_in_path(char_u *path, char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 int do_in_runtimepath(char_u *name, int flags, void (*callback)(char_u *fname, void *ck), void *cookie);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 int source_runtime(char_u *name, int flags);
19181
94eda51ba9ba patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents: 18991
diff changeset
12 int source_in_path(char_u *path, char_u *name, int flags, int *ret_sid);
17861
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 void add_pack_start_dirs(void);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 void load_start_packages(void);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 void ex_packloadall(exarg_T *eap);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 void ex_packadd(exarg_T *eap);
17978
8f4cc259ed7a patch 8.1.1985: code for dealing with paths is spread out
Bram Moolenaar <Bram@vim.org>
parents: 17922
diff changeset
17 void remove_duplicates(garray_T *gap);
17861
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 int ExpandRTDir(char_u *pat, int flags, int *num_file, char_u ***file, char *dirnames[]);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 int ExpandPackAddDir(char_u *pat, int *num_file, char_u ***file);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 void ex_source(exarg_T *eap);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 void ex_options(exarg_T *eap);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 linenr_T *source_breakpoint(void *cookie);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 int *source_dbg_tick(void *cookie);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 int source_level(void *cookie);
20992
7ee565134d4a patch 8.2.1047: Vim9: script cannot use line continuation like :def function
Bram Moolenaar <Bram@vim.org>
parents: 20538
diff changeset
25 char_u *source_nextline(void *cookie);
19181
94eda51ba9ba patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents: 18991
diff changeset
26 int do_source(char_u *fname, int check_other, int is_vimrc, int *ret_sid);
17861
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 void ex_scriptnames(exarg_T *eap);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
28 void scriptnames_slash_adjust(void);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
29 char_u *get_scriptname(scid_T id);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
30 void free_scriptnames(void);
17922
4d63d47d87ef patch 8.1.1957: more code can be moved to evalvars.c
Bram Moolenaar <Bram@vim.org>
parents: 17861
diff changeset
31 void free_autoload_scriptnames(void);
21883
a427f5f26419 patch 8.2.1491: Vim9: crash when compiling heredoc lines start with comment
Bram Moolenaar <Bram@vim.org>
parents: 21493
diff changeset
32 linenr_T get_sourced_lnum(char_u *(*fgetline)(int, void *, int, getline_opt_T), void *cookie);
a427f5f26419 patch 8.2.1491: Vim9: crash when compiling heredoc lines start with comment
Bram Moolenaar <Bram@vim.org>
parents: 21493
diff changeset
33 char_u *getsourceline(int c, void *cookie, int indent, getline_opt_T options);
17861
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
34 void ex_scriptencoding(exarg_T *eap);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
35 void ex_scriptversion(exarg_T *eap);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
36 void ex_finish(exarg_T *eap);
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
37 void do_finish(exarg_T *eap, int reanimate);
21883
a427f5f26419 patch 8.2.1491: Vim9: crash when compiling heredoc lines start with comment
Bram Moolenaar <Bram@vim.org>
parents: 21493
diff changeset
38 int source_finished(char_u *(*fgetline)(int, void *, int, getline_opt_T), void *cookie);
17922
4d63d47d87ef patch 8.1.1957: more code can be moved to evalvars.c
Bram Moolenaar <Bram@vim.org>
parents: 17861
diff changeset
39 char_u *autoload_name(char_u *name);
4d63d47d87ef patch 8.1.1957: more code can be moved to evalvars.c
Bram Moolenaar <Bram@vim.org>
parents: 17861
diff changeset
40 int script_autoload(char_u *name, int reload);
17861
0a5c615cd949 patch 8.1.1927: code for dealing with script files is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
41 /* vim: set ft=c : */