diff src/evalfunc.c @ 17336:81705f4d9e03 v8.1.1667

patch 8.1.1667: flags for Ex commands may clash with other symbols commit https://github.com/vim/vim/commit/8071cb2c646c9d38dcd4e3ccd377dce07705f031 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 12 17:58:01 2019 +0200 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_.
author Bram Moolenaar <Bram@vim.org>
date Fri, 12 Jul 2019 18:00:06 +0200
parents 8a095d343c59
children d82b0cfb1e82
line wrap: on
line diff
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -3547,7 +3547,7 @@ f_expandcmd(typval_T *argvars, typval_T 
     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;