Mercurial > vim
annotate src/proto/vim9script.pro @ 32389:03f2f598094d v9.0.1526
patch 9.0.1526: condition is always true
Commit: https://github.com/vim/vim/commit/d619d6a9c6fa0e4295c817a88f84f0bab9457bbe
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon May 8 15:56:21 2023 +0100
patch 9.0.1526: condition is always true
Problem: Condition is always true.
Solution: Remove unnecessary condition. (closes https://github.com/vim/vim/issues/12359)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 08 May 2023 17:00:05 +0200 |
parents | 307f68a41b03 |
children | a44d7e4ac1c0 |
rev | line source |
---|---|
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* vim9script.c */ |
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 int in_vim9script(void); |
25622
15b54e0a576b
patch 8.2.3347: check for legacy script is incomplete
Bram Moolenaar <Bram@vim.org>
parents:
25567
diff
changeset
|
3 int in_old_script(int max_version); |
24279
e3dbf2e58c6a
patch 8.2.2680: Vim9: problem defining a script variable from legacy function
Bram Moolenaar <Bram@vim.org>
parents:
24158
diff
changeset
|
4 int current_script_is_vim9(void); |
28164
b0b712d48225
patch 8.2.4607: sourcing buffer lines may lead to errors for conflicts
Bram Moolenaar <Bram@vim.org>
parents:
27613
diff
changeset
|
5 void clear_vim9_scriptlocal_vars(int sid); |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 void ex_vim9script(exarg_T *eap); |
21516
c7b2ce90c2de
patch 8.2.1308: Vim9: accidentally using "x" causes Vim to exit
Bram Moolenaar <Bram@vim.org>
parents:
21146
diff
changeset
|
7 int not_in_vim9(exarg_T *eap); |
24158
93e69703a290
patch 8.2.2620: Vim9: Using #{ for a dictionary gives strange errors
Bram Moolenaar <Bram@vim.org>
parents:
24112
diff
changeset
|
8 int vim9_bad_comment(char_u *p); |
23392
517fca70e084
patch 8.2.2239: Vim9: concatenating lines with backslash is inconvenient
Bram Moolenaar <Bram@vim.org>
parents:
23364
diff
changeset
|
9 int vim9_comment_start(char_u *p); |
24533
9c404d78d767
patch 8.2.2806: Vim9: using "++nr" as a command might not work
Bram Moolenaar <Bram@vim.org>
parents:
24438
diff
changeset
|
10 void ex_incdec(exarg_T *eap); |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 void ex_export(exarg_T *eap); |
22594
209c7aa56325
patch 8.2.1845: Vim9: function defined in a block can't use block variables
Bram Moolenaar <Bram@vim.org>
parents:
22529
diff
changeset
|
12 void free_imports_and_script_vars(int sid); |
23364
17a0e32eefd4
patch 8.2.2225: Vim9: error when using :import in legacy script twice
Bram Moolenaar <Bram@vim.org>
parents:
23362
diff
changeset
|
13 void mark_imports_for_reload(int sid); |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 void ex_import(exarg_T *eap); |
29828
6b7020f3d856
patch 9.0.0253: a symlink to an autoload script results in two entries
Bram Moolenaar <Bram@vim.org>
parents:
28313
diff
changeset
|
15 void import_check_sourced_sid(int *sid); |
27613
42d0279c6e7c
patch 8.2.4333: cstack not always passed to where it is needed
Bram Moolenaar <Bram@vim.org>
parents:
27049
diff
changeset
|
16 int find_exported(int sid, char_u *name, ufunc_T **ufunc, type_T **type, cctx_T *cctx, cstack_T *cstack, int verbose); |
20840
0600ab7b9f09
patch 8.2.0972: Vim9 script variable declarations need a type
Bram Moolenaar <Bram@vim.org>
parents:
19623
diff
changeset
|
17 char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg); |
27049
140102677c12
patch 8.2.4053: Vim9: autoload mechanism doesn't fully work yet
Bram Moolenaar <Bram@vim.org>
parents:
26980
diff
changeset
|
18 void update_vim9_script_var(int create, dictitem_T *di, char_u *name, int flags, typval_T *tv, type_T **type, int do_member); |
22643
71b57779177d
patch 8.2.1870: Vim9: no need to keep all script variables
Bram Moolenaar <Bram@vim.org>
parents:
22596
diff
changeset
|
19 void hide_script_var(scriptitem_T *si, int idx, int func_defined); |
28313
b418e073b42f
patch 8.2.4682: Vim9: can use :unlockvar for const variable
Bram Moolenaar <Bram@vim.org>
parents:
28164
diff
changeset
|
20 svar_T *find_typval_in_script(typval_T *dest, scid_T sid, int must_find); |
26302
7351926fbe9e
patch 8.2.3682: Vim9: assigning to a script variable drops the type
Bram Moolenaar <Bram@vim.org>
parents:
25622
diff
changeset
|
21 int check_script_var_type(svar_T *sv, typval_T *value, char_u *name, where_T where); |
31396
307f68a41b03
patch 9.0.1031: Vim9 class is not implemented yet
Bram Moolenaar <Bram@vim.org>
parents:
29828
diff
changeset
|
22 int check_reserved_name(char_u *name, cctx_T *cctx); |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
23 /* vim: set ft=c : */ |