0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 7.4.844

Problem:    When '#' is in 'isident' the is# comparator doesn't work.
Solution:   Don't use vim_isIDc(). (Yasuhiro Matsumoto)
This commit is contained in:
Bram Moolenaar
2015-09-01 16:05:00 +02:00
parent d43f0951bc
commit 37a8de17d4
10 changed files with 34 additions and 2 deletions

View File

@@ -4431,7 +4431,8 @@ eval4(arg, rettv, evaluate)
{
if (p[2] == 'n' && p[3] == 'o' && p[4] == 't')
len = 5;
if (!vim_isIDc(p[len]))
i = p[len];
if (!isalnum(i) && i != '_')
{
type = len == 2 ? TYPE_EQUAL : TYPE_NEQUAL;
type_is = TRUE;