From c84d360ae7936bd10ce0237218b78bee2ea01060 Mon Sep 17 00:00:00 2001 From: axel Date: Sat, 8 Oct 2005 07:28:44 +1000 Subject: [PATCH] Allow explicitly local variable that die at EOF when sourcing files darcs-hash:20051007212844-ac50b-d6494ae3271225e4833ef3550e9cfb0c5e3b3802.gz --- builtin.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builtin.c b/builtin.c index e8b892e53..113b35fb5 100644 --- a/builtin.c +++ b/builtin.c @@ -1918,7 +1918,9 @@ static int builtin_source( wchar_t ** argv ) else { reader_push_current_filename( argv[1] ); + env_push(0); res = reader_read(); + env_pop(); if( res ) { sb_printf( sb_err,