Mercurial > vim
comparison src/syntax.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 | 6d01f93a5f12 |
children | 635d7f5010b8 |
comparison
equal
deleted
inserted
replaced
17335:aea46b52b2dc | 17336:81705f4d9e03 |
---|---|
4807 | 4807 |
4808 /* | 4808 /* |
4809 * Everything that's left, up to the next command, should be the | 4809 * Everything that's left, up to the next command, should be the |
4810 * filename to include. | 4810 * filename to include. |
4811 */ | 4811 */ |
4812 eap->argt |= (XFILE | NOSPC); | 4812 eap->argt |= (EX_XFILE | EX_NOSPC); |
4813 separate_nextcmd(eap); | 4813 separate_nextcmd(eap); |
4814 if (*eap->arg == '<' || *eap->arg == '$' || mch_isFullName(eap->arg)) | 4814 if (*eap->arg == '<' || *eap->arg == '$' || mch_isFullName(eap->arg)) |
4815 { | 4815 { |
4816 /* For an absolute path, "$VIM/..." or "<sfile>.." we ":source" the | 4816 /* For an absolute path, "$VIM/..." or "<sfile>.." we ":source" the |
4817 * file. Need to expand the file name first. In other cases | 4817 * file. Need to expand the file name first. In other cases |