patch 8.2.2497: no error when using more than one character for a register

Problem:    No error when using more than one character for a register name.
Solution:   In Vim9 script check for a single character string. (closes #7814)
            Fix that VAR_BOOL and VAR_SPECIAL are not considered equal.
This commit is contained in:
Bram Moolenaar
2021-02-10 22:23:41 +01:00
parent 5202929dab
commit 418a29f0ff
5 changed files with 46 additions and 3 deletions

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2497,
/**/
2496,
/**/