Mercurial > vim
comparison src/vim9.h @ 22272:eb1f5f618c75 v8.2.1685
patch 8.2.1685: Vim9: cannot declare a constant value
Commit: https://github.com/vim/vim/commit/0b4c66c67a083f25816b9cdb8e76a41e02d9f560
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 14 21:39:44 2020 +0200
patch 8.2.1685: Vim9: cannot declare a constant value
Problem: Vim9: cannot declare a constant value.
Solution: Introduce ":const!".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 14 Sep 2020 21:45:04 +0200 |
parents | 6941d3205be9 |
children | 6b385c2b9ff5 |
comparison
equal
deleted
inserted
replaced
22271:0440d470ae70 | 22272:eb1f5f618c75 |
---|---|
55 ISN_STORELIST, // store into list, value/index/varable on stack | 55 ISN_STORELIST, // store into list, value/index/varable on stack |
56 ISN_STOREDICT, // store into dictionary, value/index/variable on stack | 56 ISN_STOREDICT, // store into dictionary, value/index/variable on stack |
57 | 57 |
58 ISN_UNLET, // unlet variable isn_arg.unlet.ul_name | 58 ISN_UNLET, // unlet variable isn_arg.unlet.ul_name |
59 ISN_UNLETENV, // unlet environment variable isn_arg.unlet.ul_name | 59 ISN_UNLETENV, // unlet environment variable isn_arg.unlet.ul_name |
60 | |
61 ISN_LOCKCONST, // lock constant value | |
60 | 62 |
61 // constants | 63 // constants |
62 ISN_PUSHNR, // push number isn_arg.number | 64 ISN_PUSHNR, // push number isn_arg.number |
63 ISN_PUSHBOOL, // push bool value isn_arg.number | 65 ISN_PUSHBOOL, // push bool value isn_arg.number |
64 ISN_PUSHSPEC, // push special value isn_arg.number | 66 ISN_PUSHSPEC, // push special value isn_arg.number |