0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -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:
Bram Moolenaar
2019-07-12 17:58:01 +02:00
parent bd42b31780
commit 8071cb2c64
7 changed files with 1234 additions and 1236 deletions

View File

@@ -4809,7 +4809,7 @@ syn_cmd_include(exarg_T *eap, int syncing UNUSED)
* Everything that's left, up to the next command, should be the
* filename to include.
*/
eap->argt |= (XFILE | NOSPC);
eap->argt |= (EX_XFILE | EX_NOSPC);
separate_nextcmd(eap);
if (*eap->arg == '<' || *eap->arg == '$' || mch_isFullName(eap->arg))
{