Skip to content

Commit 8071cb2

Browse files
committed
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_.
1 parent bd42b31 commit 8071cb2

7 files changed

Lines changed: 1234 additions & 1236 deletions

File tree

src/evalfunc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3547,7 +3547,7 @@ f_expandcmd(typval_T *argvars, typval_T *rettv)
35473547
memset(&eap, 0, sizeof(eap));
35483548
eap.cmd = cmdstr;
35493549
eap.arg = cmdstr;
3550-
eap.argt |= NOSPC;
3550+
eap.argt |= EX_NOSPC;
35513551
eap.usefilter = FALSE;
35523552
eap.nextcmd = NULL;
35533553
eap.cmdidx = CMD_USER;

0 commit comments

Comments
 (0)