Mercurial > vim
comparison src/json.c @ 24606:a4fda40e0bb9 v8.2.2842
patch 8.2.2842: Vim9: skip argument to searchpair() is not compiled
Commit: https://github.com/vim/vim/commit/f18332fb9e2e4208a97d800f096b02c6681780e7
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 7 17:55:55 2021 +0200
patch 8.2.2842: Vim9: skip argument to searchpair() is not compiled
Problem: Vim9: skip argument to searchpair() is not compiled.
Solution: Add VAR_INSTR.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 07 May 2021 18:00:04 +0200 |
parents | 650070143c56 |
children | 661d15592d3c |
comparison
equal
deleted
inserted
replaced
24605:f5484f767f70 | 24606:a4fda40e0bb9 |
---|---|
228 | 228 |
229 case VAR_FUNC: | 229 case VAR_FUNC: |
230 case VAR_PARTIAL: | 230 case VAR_PARTIAL: |
231 case VAR_JOB: | 231 case VAR_JOB: |
232 case VAR_CHANNEL: | 232 case VAR_CHANNEL: |
233 case VAR_INSTR: | |
233 semsg(_(e_cannot_json_encode_str), vartype_name(val->v_type)); | 234 semsg(_(e_cannot_json_encode_str), vartype_name(val->v_type)); |
234 return FAIL; | 235 return FAIL; |
235 | 236 |
236 case VAR_BLOB: | 237 case VAR_BLOB: |
237 b = val->vval.v_blob; | 238 b = val->vval.v_blob; |