]> granicus.if.org Git - vim/commit
patch 8.2.2497: no error when using more than one character for a register v8.2.2497
authorBram Moolenaar <Bram@vim.org>
Wed, 10 Feb 2021 21:23:41 +0000 (22:23 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 10 Feb 2021 21:23:41 +0000 (22:23 +0100)
commit418a29f0ffcaa0a3d778724ab6d1111db525d3cc
tree5eace1fe0390cbb554182e2143b7e84f62be7e90
parent5202929dab58402a5f3cd9c231e09abb5c451c56
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.
src/errors.h
src/evalfunc.c
src/testdir/test_vim9_builtin.vim
src/typval.c
src/version.c