Allow explicitly local variable that die at EOF when sourcing files

darcs-hash:20051007212844-ac50b-d6494ae3271225e4833ef3550e9cfb0c5e3b3802.gz
This commit is contained in:
axel 2005-10-08 07:28:44 +10:00
parent 1f60bfa55f
commit c84d360ae7

View file

@ -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,