Mercurial > vim
comparison src/vim9.h @ 20099:058b41f85bcb v8.2.0605
patch 8.2.0605: Vim9: cannot unlet an environment variable
Commit: https://github.com/vim/vim/commit/7bdaea6e0df849cf3dd7eaaf454eb88f637d1884
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 19 18:27:26 2020 +0200
patch 8.2.0605: Vim9: cannot unlet an environment variable
Problem: Vim9: cannot unlet an environment variable.
Solution: Implement unlet for $VAR.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 19 Apr 2020 18:30:04 +0200 |
parents | a64c16ff98b8 |
children | fe8d0a4344df |
comparison
equal
deleted
inserted
replaced
20098:a901238a18a2 | 20099:058b41f85bcb |
---|---|
43 // ISN_STOREOTHER, // pop into other script variable isn_arg.other. | 43 // ISN_STOREOTHER, // pop into other script variable isn_arg.other. |
44 | 44 |
45 ISN_STORENR, // store number into local variable isn_arg.storenr.stnr_idx | 45 ISN_STORENR, // store number into local variable isn_arg.storenr.stnr_idx |
46 | 46 |
47 ISN_UNLET, // unlet variable isn_arg.unlet.ul_name | 47 ISN_UNLET, // unlet variable isn_arg.unlet.ul_name |
48 ISN_UNLETENV, // unlet environment variable isn_arg.unlet.ul_name | |
48 | 49 |
49 // constants | 50 // constants |
50 ISN_PUSHNR, // push number isn_arg.number | 51 ISN_PUSHNR, // push number isn_arg.number |
51 ISN_PUSHBOOL, // push bool value isn_arg.number | 52 ISN_PUSHBOOL, // push bool value isn_arg.number |
52 ISN_PUSHSPEC, // push special value isn_arg.number | 53 ISN_PUSHSPEC, // push special value isn_arg.number |