]> granicus.if.org Git - vim/commit
patch 8.2.4970: "eval 123" gives an error, "eval 'abc'" does not v8.2.4970
authorBram Moolenaar <Bram@vim.org>
Tue, 17 May 2022 11:45:15 +0000 (12:45 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 17 May 2022 11:45:15 +0000 (12:45 +0100)
commit0d03263fd731986c0eee1a08e0f1b19f1bc3a7ad
tree7777e5301a42e533fc3c51af7ea541816fb29985
parent7ce5b2b590256ce53d6af28c1d203fb3bc1d2d97
patch 8.2.4970: "eval 123" gives an error, "eval 'abc'" does not

Problem:    "eval 123" gives an error, "eval 'abc'" does not.
Solution:   Also give an error when evaluating only a string. (closes #10434)
src/ex_eval.c
src/testdir/test_vim9_cmd.vim
src/version.c