Mercurial > vim
comparison src/vim9.h @ 32051:e8c60d35fce3 v9.0.1357
patch 9.0.1357: using null_object results in an internal error
Commit: https://github.com/vim/vim/commit/c4e1b86cb0d88fa5ec1141d3c600e026dcc1bc21
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 26 18:58:23 2023 +0000
patch 9.0.1357: using null_object results in an internal error
Problem: Using null_object results in an internal error. (Ernie Rael)
Solution: Add instructions for pushing an object and class. (closes https://github.com/vim/vim/issues/12044)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 Feb 2023 20:00:03 +0100 |
parents | f1a5e67e9a1b |
children | 76fd08a4ae1d |
comparison
equal
deleted
inserted
replaced
32050:181589e7fc64 | 32051:e8c60d35fce3 |
---|---|
99 ISN_PUSHS, // push string isn_arg.string | 99 ISN_PUSHS, // push string isn_arg.string |
100 ISN_PUSHBLOB, // push blob isn_arg.blob | 100 ISN_PUSHBLOB, // push blob isn_arg.blob |
101 ISN_PUSHFUNC, // push func isn_arg.string | 101 ISN_PUSHFUNC, // push func isn_arg.string |
102 ISN_PUSHCHANNEL, // push NULL channel | 102 ISN_PUSHCHANNEL, // push NULL channel |
103 ISN_PUSHJOB, // push NULL job | 103 ISN_PUSHJOB, // push NULL job |
104 ISN_PUSHOBJ, // push NULL object | |
105 ISN_PUSHCLASS, // push class, uses isn_arg.class | |
104 ISN_NEWLIST, // push list from stack items, size is isn_arg.number | 106 ISN_NEWLIST, // push list from stack items, size is isn_arg.number |
105 // -1 for null_list | 107 // -1 for null_list |
106 ISN_NEWDICT, // push dict from stack items, size is isn_arg.number | 108 ISN_NEWDICT, // push dict from stack items, size is isn_arg.number |
107 // -1 for null_dict | 109 // -1 for null_dict |
108 ISN_NEWPARTIAL, // push NULL partial | 110 ISN_NEWPARTIAL, // push NULL partial |
516 vartype_T vartype; | 518 vartype_T vartype; |
517 float_T fnumber; | 519 float_T fnumber; |
518 channel_T *channel; | 520 channel_T *channel; |
519 job_T *job; | 521 job_T *job; |
520 partial_T *partial; | 522 partial_T *partial; |
523 class_T *class; | |
521 jump_T jump; | 524 jump_T jump; |
522 jumparg_T jumparg; | 525 jumparg_T jumparg; |
523 forloop_T forloop; | 526 forloop_T forloop; |
524 whileloop_T whileloop; | 527 whileloop_T whileloop; |
525 endloop_T endloop; | 528 endloop_T endloop; |