Mercurial > vim
annotate src/proto/usercmd.pro @ 32270:d542423ef5c9 v9.0.1466
patch 9.0.1466: cannot use an object member name as a method argument
Commit: https://github.com/vim/vim/commit/61378a15425553cec1ec15f590e70ca50c7c34a8
Author: h-east <h.east.727@gmail.com>
Date: Tue Apr 18 19:07:29 2023 +0100
patch 9.0.1466: cannot use an object member name as a method argument
Problem: Cannot use an object member name as a method argument.
Solution: Do not give an error for using an object member name for a method
argument. (Hirohito Higashi, closes #12241, closes #12225)
Fix line number for other argument error.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 18 Apr 2023 20:15:04 +0200 |
parents | 360f286b5869 |
children |
rev | line source |
---|---|
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* usercmd.c */ |
16466
a2befc9b3729
patch 8.1.1237: error for using "compl", reserved word in C++
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
2 char_u *find_ucmd(exarg_T *eap, char_u *p, int *full, expand_T *xp, int *complp); |
28757
add09d468c0d
patch 8.2.4903: cannot get the current cmdline completion type and position
Bram Moolenaar <Bram@vim.org>
parents:
27778
diff
changeset
|
3 char_u *set_context_in_user_cmd(expand_T *xp, char_u *arg_in); |
27778
858002fef4b7
patch 8.2.4415: function argument name conflicts with C++ keyword
Bram Moolenaar <Bram@vim.org>
parents:
27744
diff
changeset
|
4 char_u *set_context_in_user_cmdarg(char_u *cmd, char_u *arg, long argt, int context, expand_T *xp, int forceit); |
25757
589226a5f317
patch 8.2.3414: fullcommand() gives wrong name with buffer-local user command
Bram Moolenaar <Bram@vim.org>
parents:
25463
diff
changeset
|
5 char_u *expand_user_command_name(int idx); |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 char_u *get_user_commands(expand_T *xp, int idx); |
25757
589226a5f317
patch 8.2.3414: fullcommand() gives wrong name with buffer-local user command
Bram Moolenaar <Bram@vim.org>
parents:
25463
diff
changeset
|
7 char_u *get_user_command_name(int idx, int cmdidx); |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 char_u *get_user_cmd_addr_type(expand_T *xp, int idx); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 char_u *get_user_cmd_flags(expand_T *xp, int idx); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 char_u *get_user_cmd_nargs(expand_T *xp, int idx); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 char_u *get_user_cmd_complete(expand_T *xp, int idx); |
28757
add09d468c0d
patch 8.2.4903: cannot get the current cmdline completion type and position
Bram Moolenaar <Bram@vim.org>
parents:
27778
diff
changeset
|
12 char_u *cmdcomplete_type_to_str(int expand); |
16466
a2befc9b3729
patch 8.1.1237: error for using "compl", reserved word in C++
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
13 int cmdcomplete_str_to_type(char_u *complete_str); |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 char *uc_fun_cmd(void); |
16466
a2befc9b3729
patch 8.1.1237: error for using "compl", reserved word in C++
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
15 int parse_compl_arg(char_u *value, int vallen, int *complp, long *argt, char_u **compl_arg); |
25463
05f9e8f2016c
patch 8.2.3268: cannot use a block with :autocmd like with :command
Bram Moolenaar <Bram@vim.org>
parents:
22715
diff
changeset
|
16 char_u *may_get_cmd_block(exarg_T *eap, char_u *p, char_u **tofree, int *flags); |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
17 void ex_command(exarg_T *eap); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
18 void ex_comclear(exarg_T *eap); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
19 void uc_clear(garray_T *gap); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
20 void ex_delcommand(exarg_T *eap); |
30986
360f286b5869
patch 9.0.0828: various typos
Bram Moolenaar <Bram@vim.org>
parents:
28757
diff
changeset
|
21 size_t add_win_cmd_modifiers(char_u *buf, cmdmod_T *cmod, int *multi_mods); |
22715
8968ed4ba4ba
patch 8.2.1906: warning for signed/unsigned
Bram Moolenaar <Bram@vim.org>
parents:
22703
diff
changeset
|
22 size_t produce_cmdmods(char_u *buf, cmdmod_T *cmod, int quote); |
16411
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
23 void do_ucmd(exarg_T *eap); |
5b5c5daf57de
patch 8.1.1210: support for user commands is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
24 /* vim: set ft=c : */ |