From 32d2d47fd5c71a056c93fd47069491bfeba6b25c Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 11 Jul 2000 16:43:26 +0000 Subject: 12220: message for missing autoload function --- Src/exec.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Src/exec.c') diff --git a/Src/exec.c b/Src/exec.c index 6d2042721..aa462de92 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -3201,7 +3201,10 @@ loadautofn(Shfunc shf, int fksh, int autol) ksh = fksh; if (prog == &dummy_eprog) { + /* We're not actually in the function; decrement locallevel */ + locallevel--; zerr("%s: function definition file not found", shf->nam, 0); + locallevel++; popheap(); return NULL; } -- cgit v1.2.3