comparison src/vim.h @ 23239:a789a688e37d v8.2.2165

patch 8.2.2165: Vim9: assignment to dict member does not work Commit: https://github.com/vim/vim/commit/8f22f5c3aa0aa96e3843a57f29405625d8514c74 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 19 22:10:13 2020 +0100 patch 8.2.2165: Vim9: assignment to dict member does not work Problem: Vim9: assignment to dict member does not work. Solution: Fix recognizing dict member. (closes https://github.com/vim/vim/issues/7484)
author Bram Moolenaar <Bram@vim.org>
date Sat, 19 Dec 2020 22:45:03 +0100
parents a916fca16d4b
children 40f1d3f0c53e
comparison
equal deleted inserted replaced
23238:5945735ad4af 23239:a789a688e37d
2534 // Used by the garbage collector. 2534 // Used by the garbage collector.
2535 #define COPYID_INC 2 2535 #define COPYID_INC 2
2536 #define COPYID_MASK (~0x1) 2536 #define COPYID_MASK (~0x1)
2537 2537
2538 // Values for trans_function_name() argument: 2538 // Values for trans_function_name() argument:
2539 #define TFN_INT 1 // internal function name OK 2539 #define TFN_INT 0x01 // internal function name OK
2540 #define TFN_QUIET 2 // no error messages 2540 #define TFN_QUIET 0x02 // no error messages
2541 #define TFN_NO_AUTOLOAD 4 // do not use script autoloading 2541 #define TFN_NO_AUTOLOAD 0x04 // do not use script autoloading
2542 #define TFN_NO_DEREF 8 // do not dereference a Funcref 2542 #define TFN_NO_DEREF 0x08 // do not dereference a Funcref
2543 #define TFN_READ_ONLY 16 // will not change the var 2543 #define TFN_READ_ONLY 0x10 // will not change the var
2544 #define TFN_NO_DECL 0x20 // only used for GLV_NO_DECL
2544 2545
2545 // Values for get_lval() flags argument: 2546 // Values for get_lval() flags argument:
2546 #define GLV_QUIET TFN_QUIET // no error messages 2547 #define GLV_QUIET TFN_QUIET // no error messages
2547 #define GLV_NO_AUTOLOAD TFN_NO_AUTOLOAD // do not use script autoloading 2548 #define GLV_NO_AUTOLOAD TFN_NO_AUTOLOAD // do not use script autoloading
2548 #define GLV_READ_ONLY TFN_READ_ONLY // will not change the var 2549 #define GLV_READ_ONLY TFN_READ_ONLY // will not change the var
2550 #define GLV_NO_DECL TFN_NO_DECL // assignment without :var or :let
2549 2551
2550 #define DO_NOT_FREE_CNT 99999 // refcount for dict or list that should not 2552 #define DO_NOT_FREE_CNT 99999 // refcount for dict or list that should not
2551 // be freed. 2553 // be freed.
2552 2554
2553 // errors for when calling a function 2555 // errors for when calling a function