Mercurial > vim
annotate src/proto/vim9script.pro @ 20919:96bf2b304932 v8.2.1011
patch 8.2.1011: Vim9: some code not tested
Commit: https://github.com/vim/vim/commit/c785b9a7f471f12825a1d6d2041c144c74242b7c
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jun 19 18:34:15 2020 +0200
patch 8.2.1011: Vim9: some code not tested
Problem: Vim9: some code not tested.
Solution: Add a few more test cases. Reorder checks for clearer error.
Remove unreachable code.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 19 Jun 2020 18:45:03 +0200 |
parents | bacc2ab11810 |
children | 465d6e40e79c |
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); |
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 void ex_vim9script(exarg_T *eap); |
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 void ex_export(exarg_T *eap); |
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 void free_imports(int sid); |
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 void ex_import(exarg_T *eap); |
19509
17f0d6dc6a73
patch 8.2.0312: Vim9: insufficient script tests
Bram Moolenaar <Bram@vim.org>
parents:
19181
diff
changeset
|
7 int find_exported(int sid, char_u **argp, int *name_len, ufunc_T **ufunc, type_T **type); |
19623
2fee087c94cb
patch 8.2.0368: Vim9: import that redefines local variable does not fail
Bram Moolenaar <Bram@vim.org>
parents:
19509
diff
changeset
|
8 char_u *handle_import(char_u *arg_start, garray_T *gap, int import_sid, void *cctx); |
20840
0600ab7b9f09
patch 8.2.0972: Vim9 script variable declarations need a type
Bram Moolenaar <Bram@vim.org>
parents:
19623
diff
changeset
|
9 char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg); |
20919
96bf2b304932
patch 8.2.1011: Vim9: some code not tested
Bram Moolenaar <Bram@vim.org>
parents:
20842
diff
changeset
|
10 int check_script_var_type(typval_T *dest, typval_T *value, char_u *name); |
19181
94eda51ba9ba
patch 8.2.0149: maintaining a Vim9 branch separately is more work
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 /* vim: set ft=c : */ |