changeset 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 3c084642bb78
children 80e69919b10d
files src/scriptfile.c src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/scriptfile.c
+++ b/src/scriptfile.c
@@ -1639,6 +1639,9 @@ do_source_ext(
 	}
     }
 # endif
+#else
+    // Keep the sourcing name/lnum, for recursive calls.
+    estack_push(ETYPE_SCRIPT, fname_exp, 0);
 #endif
 
     cookie.conv.vc_type = CONV_NONE;		// no conversion
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    468,
+/**/
     467,
 /**/
     466,