commit | c5da1fb7ea4126b6c70426cf0add51e720b7cd3f | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Aug 05 15:43:44 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Aug 05 15:43:44 2020 +0200 |
tree | 2be5f02283c81f0c1068e7f9daa870e9c02585bb | |
parent | a71e2633207557c31432c954194078cb6062d04f [diff] [blame] |
patch 8.2.1375: Vim9: method name with digit not accepted Problem: Vim9: method name with digit not accepted. Solution: Use eval_isnamec() instead of eval_isnamec1(). (closes #6613)
diff --git a/src/vim9compile.c b/src/vim9compile.c index e87634b..b3cca58 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c
@@ -3854,7 +3854,7 @@ } if (ASCII_ISALPHA(*p) && p[1] == ':') p += 2; - for ( ; eval_isnamec1(*p); ++p) + for ( ; eval_isnamec(*p); ++p) ; if (*p != '(') {