comparison src/vim9.h @ 20859:876e16c48bd1 v8.2.0981

patch 8.2.0981: Vim9: cannot compile "[var, var] = list" Commit: https://github.com/vim/vim/commit/47a519a933e8bcaf703a5feaac5c01491a658ee3 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 14 23:05:10 2020 +0200 patch 8.2.0981: Vim9: cannot compile "[var, var] = list" Problem: Vim9: cannot compile "[var, var] = list". Solution: Implement list assignment.
author Bram Moolenaar <Bram@vim.org>
date Sun, 14 Jun 2020 23:15:04 +0200
parents e29b2ec8d4d2
children 65d9189d4dca
comparison
equal deleted inserted replaced
20858:e20d1d3b411c 20859:876e16c48bd1
110 ISN_COMPAREANY, 110 ISN_COMPAREANY,
111 111
112 // expression operations 112 // expression operations
113 ISN_CONCAT, 113 ISN_CONCAT,
114 ISN_INDEX, // [expr] list index 114 ISN_INDEX, // [expr] list index
115 ISN_GETITEM, // push list item, isn_arg.number is the index
115 ISN_MEMBER, // dict[member] 116 ISN_MEMBER, // dict[member]
116 ISN_STRINGMEMBER, // dict.member using isn_arg.string 117 ISN_STRINGMEMBER, // dict.member using isn_arg.string
117 ISN_2BOOL, // convert value to bool, invert if isn_arg.number != 0 118 ISN_2BOOL, // convert value to bool, invert if isn_arg.number != 0
118 ISN_2STRING, // convert value to string at isn_arg.number on stack 119 ISN_2STRING, // convert value to string at isn_arg.number on stack
119 ISN_NEGATENR, // apply "-" to number 120 ISN_NEGATENR, // apply "-" to number