From 8071cb2c646c9d38dcd4e3ccd377dce07705f031 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 12 Jul 2019 17:58:01 +0200 Subject: 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_. --- src/syntax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/syntax.c') diff --git a/src/syntax.c b/src/syntax.c index 9c17a5875..f01c840da 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -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)) { -- cgit v1.2.1