mirror of
https://github.com/vim/vim.git
synced 2025-10-13 06:54:15 -04:00
patch 8.1.1667: flags for Ex commands may clash with other symbols
Problem: Flags for Ex commands may clash with other symbols. Solution: Prepend with EX_.
This commit is contained in:
@@ -3547,7 +3547,7 @@ f_expandcmd(typval_T *argvars, typval_T *rettv)
|
||||
memset(&eap, 0, sizeof(eap));
|
||||
eap.cmd = cmdstr;
|
||||
eap.arg = cmdstr;
|
||||
eap.argt |= NOSPC;
|
||||
eap.argt |= EX_NOSPC;
|
||||
eap.usefilter = FALSE;
|
||||
eap.nextcmd = NULL;
|
||||
eap.cmdidx = CMD_USER;
|
||||
|
Reference in New Issue
Block a user