]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1037: lalloc(0) error for a class without members v9.0.1037
authorBram Moolenaar <Bram@vim.org>
Thu, 8 Dec 2022 22:09:14 +0000 (22:09 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 8 Dec 2022 22:09:14 +0000 (22:09 +0000)
commit98aeb2100c2759111f93f0f0857e93d98afdc88a
treee37c6f527026f5d64d594ddbd784bf4ef34178ea
parent3f8f82772313af9f2417b06651f30988b63e1c96
patch 9.0.1037: lalloc(0) error for a class without members

Problem:    lalloc(0) error for a class without members.
Solution:   Don't allocate room for members if there aren't any.
            Don't create the class if there was an error.
src/version.c
src/vim9class.c