comparison src/scriptfile.c @ 30265:8507a5b2c031 v9.0.0468

patch 9.0.0468: exectution stack underflow without the +eval feature Commit: https://github.com/vim/vim/commit/aeef1f7f6d8f6d4e84ffc9a24874f10403e4ddcd Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 15 12:20:18 2022 +0100 patch 9.0.0468: exectution stack underflow without the +eval feature Problem: Exectution stack underflow without the +eval feature. (Dominique Pell?) Solution: Add to execution stack without FEAT_EVAL. (closes #11135)
author Bram Moolenaar <Bram@vim.org>
date Thu, 15 Sep 2022 13:30:05 +0200
parents cd573d7bc30d
children 37aa9fd2ed72
comparison
equal deleted inserted replaced
30264:3c084642bb78 30265:8507a5b2c031
1637 profile_start(&si->sn_pr_start); 1637 profile_start(&si->sn_pr_start);
1638 profile_zero(&si->sn_pr_children); 1638 profile_zero(&si->sn_pr_children);
1639 } 1639 }
1640 } 1640 }
1641 # endif 1641 # endif
1642 #else
1643 // Keep the sourcing name/lnum, for recursive calls.
1644 estack_push(ETYPE_SCRIPT, fname_exp, 0);
1642 #endif 1645 #endif
1643 1646
1644 cookie.conv.vc_type = CONV_NONE; // no conversion 1647 cookie.conv.vc_type = CONV_NONE; // no conversion
1645 1648
1646 // Read the first line so we can check for a UTF-8 BOM. 1649 // Read the first line so we can check for a UTF-8 BOM.