diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-02-08 21:17:22 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-08 21:17:22 +0000 |
commit | b6a138eb334621f60c5891d035f80f398d59dbd3 (patch) | |
tree | cc5a52690b5e52b64c0dfe2e489e5f01feabac68 /src/eval.c | |
parent | dce2441a603f2c9343a4a46091283a32420d80a2 (diff) |
patch 8.2.4333: cstack not always passed to where it is neededv8.2.4333
Problem: cstack not always passed to where it is needed.
Solution: Pass ctack through functions.
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c index 2942d0fe1d..d775ee3f26 100644 --- a/src/eval.c +++ b/src/eval.c @@ -975,7 +975,7 @@ get_lval( cc = *p; *p = NUL; if (find_exported(import->imp_sid, lp->ll_name, &ufunc, &type, - NULL, TRUE) == -1) + NULL, NULL, TRUE) == -1) { *p = cc; return NULL; @@ -6056,7 +6056,7 @@ handle_subscript( **arg = NUL; idx = find_exported(rettv->vval.v_number, exp_name, &ufunc, &type, - evalarg->eval_cctx, verbose); + evalarg->eval_cctx, evalarg->eval_cstack, verbose); **arg = cc; if (idx < 0 && ufunc == NULL) |