diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-03-01 19:23:24 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-01 19:23:24 +0000 |
commit | 7a2222487507eb13cccdb9a66397092775d62b8c (patch) | |
tree | c5878917461a22b48ec7a38cb6356352b8e57895 /src/vim9.h | |
parent | f01af9c4e6f1438cd1112cfff42f3837028c7846 (diff) | |
download | vim-git-7a2222487507eb13cccdb9a66397092775d62b8c.tar.gz |
patch 8.2.4487: Vim9: cannot compare with v:nullv8.2.4487
Problem: Vim9: cannot compare with v:null.
Solution: Allow comparing anything with v:null. (closes #9866)
Diffstat (limited to 'src/vim9.h')
-rw-r--r-- | src/vim9.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vim9.h b/src/vim9.h index 87ee6b163..07dd6392f 100644 --- a/src/vim9.h +++ b/src/vim9.h @@ -134,6 +134,7 @@ typedef enum { // comparative operations; isn_arg.op.op_type is exprtype_T, op_ic used ISN_COMPAREBOOL, ISN_COMPARESPECIAL, + ISN_COMPARENULL, ISN_COMPARENR, ISN_COMPAREFLOAT, ISN_COMPARESTRING, |