mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.415
Problem: Cannot build. Warning for shadowed variable. (John Little) Solution: Add missing change. Remove declaration. https://code.google.com/p/vim/source/detail?name=v7-4-414&r=20dbceb6f4713ccd01be45dc531abc269fbb7579
This commit is contained in:
parent
0051a7cb25
commit
bffea01c89
@ -1464,8 +1464,7 @@ static char_u * do_one_cmd(char_u **cmdlinep,
|
|||||||
if (p != NULL && ea.cmdidx == CMD_SIZE && !ea.skip
|
if (p != NULL && ea.cmdidx == CMD_SIZE && !ea.skip
|
||||||
&& ASCII_ISUPPER(*ea.cmd)
|
&& ASCII_ISUPPER(*ea.cmd)
|
||||||
&& has_cmdundefined()) {
|
&& has_cmdundefined()) {
|
||||||
char_u *p = ea.cmd;
|
p = ea.cmd;
|
||||||
|
|
||||||
while (ASCII_ISALNUM(*p)) {
|
while (ASCII_ISALNUM(*p)) {
|
||||||
++p;
|
++p;
|
||||||
}
|
}
|
||||||
|
@ -99,6 +99,7 @@ typedef enum auto_event {
|
|||||||
EVENT_SHELLFILTERPOST, /* after ":1,2!cmd", ":w !cmd", ":r !cmd". */
|
EVENT_SHELLFILTERPOST, /* after ":1,2!cmd", ":w !cmd", ":r !cmd". */
|
||||||
EVENT_TEXTCHANGED, /* text was modified */
|
EVENT_TEXTCHANGED, /* text was modified */
|
||||||
EVENT_TEXTCHANGEDI, /* text was modified in Insert mode*/
|
EVENT_TEXTCHANGEDI, /* text was modified in Insert mode*/
|
||||||
|
EVENT_CMDUNDEFINED, ///< command undefined
|
||||||
NUM_EVENTS /* MUST be the last one */
|
NUM_EVENTS /* MUST be the last one */
|
||||||
} event_T;
|
} event_T;
|
||||||
|
|
||||||
|
@ -250,7 +250,7 @@ static int included_patches[] = {
|
|||||||
418,
|
418,
|
||||||
//417,
|
//417,
|
||||||
//416,
|
//416,
|
||||||
//415,
|
415,
|
||||||
414,
|
414,
|
||||||
//413 NA
|
//413 NA
|
||||||
//412 NA
|
//412 NA
|
||||||
|
Loading…
Reference in New Issue
Block a user