mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
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 #12044)
This commit is contained in:
@@ -101,6 +101,8 @@ typedef enum {
|
||||
ISN_PUSHFUNC, // push func isn_arg.string
|
||||
ISN_PUSHCHANNEL, // push NULL channel
|
||||
ISN_PUSHJOB, // push NULL job
|
||||
ISN_PUSHOBJ, // push NULL object
|
||||
ISN_PUSHCLASS, // push class, uses isn_arg.class
|
||||
ISN_NEWLIST, // push list from stack items, size is isn_arg.number
|
||||
// -1 for null_list
|
||||
ISN_NEWDICT, // push dict from stack items, size is isn_arg.number
|
||||
@@ -518,6 +520,7 @@ struct isn_S {
|
||||
channel_T *channel;
|
||||
job_T *job;
|
||||
partial_T *partial;
|
||||
class_T *class;
|
||||
jump_T jump;
|
||||
jumparg_T jumparg;
|
||||
forloop_T forloop;
|
||||
|
Reference in New Issue
Block a user