Mercurial > vim
comparison src/vim9script.c @ 28002:1012048eed26 v8.2.4526
patch 8.2.4526: Vim9: cannot set variables to a null value
Commit: https://github.com/vim/vim/commit/8acb9cc6209768ca7ec75c9f7af8c389312ea8d6
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 8 13:18:55 2022 +0000
patch 8.2.4526: Vim9: cannot set variables to a null value
Problem: Vim9: cannot set variables to a null value.
Solution: Add null_list, null_job, etc.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 08 Mar 2022 14:30:05 +0100 |
parents | 3813036f19cb |
children | f34afadbef47 |
comparison
equal
deleted
inserted
replaced
28001:5357aeb3985f | 28002:1012048eed26 |
---|---|
1060 // words that cannot be used as a variable | 1060 // words that cannot be used as a variable |
1061 static char *reserved[] = { | 1061 static char *reserved[] = { |
1062 "true", | 1062 "true", |
1063 "false", | 1063 "false", |
1064 "null", | 1064 "null", |
1065 "null_blob", | |
1066 "null_dict", | |
1067 "null_function", | |
1068 "null_list", | |
1069 "null_partial", | |
1070 "null_string", | |
1071 "null_channel", | |
1072 "null_job", | |
1065 "this", | 1073 "this", |
1066 NULL | 1074 NULL |
1067 }; | 1075 }; |
1068 | 1076 |
1069 int | 1077 int |