mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
eval: Split eval.c into smaller files
This commit is contained in:
@@ -2952,14 +2952,14 @@ void u_eval_tree(u_header_T *first_uhp, list_T *list)
|
||||
dict_add_nr_str(dict, "save", uhp->uh_save_nr, NULL);
|
||||
|
||||
if (uhp->uh_alt_next.ptr != NULL) {
|
||||
list_T *alt_list = list_alloc();
|
||||
list_T *alt_list = tv_list_alloc();
|
||||
|
||||
/* Recursive call to add alternate undo tree. */
|
||||
u_eval_tree(uhp->uh_alt_next.ptr, alt_list);
|
||||
dict_add_list(dict, "alt", alt_list);
|
||||
}
|
||||
|
||||
list_append_dict(list, dict);
|
||||
tv_list_append_dict(list, dict);
|
||||
uhp = uhp->uh_prev.ptr;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user