Make sure code validation error output for e.g. the complete builtin can be redirected, and that it has the prefix 'complete', not 'fish'

darcs-hash:20060602021517-ac50b-5e566aefbd1c9bcb3a5f11f9fc1125d8c1d9e936.gz
This commit is contained in:
axel
2006-06-02 12:15:17 +10:00
parent 67f216fa55
commit a1a2773cbf
5 changed files with 112 additions and 82 deletions

View File

@@ -2502,7 +2502,7 @@ static int builtin_end( wchar_t **argv )
//fwprintf( stderr, L"Function: %ls\n", def );
if( !is_interactive || !parser_test( def, 1 ) )
if( !is_interactive || !parser_test( def, sb_err, argv[0] ) )
{
function_add( current_block->param1.function_name,
def,