diff options
author | axel <axel@liljencrantz.se> | 2006-08-23 00:38:31 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-08-23 00:38:31 +1000 |
commit | 303473f20cc4ff55318b02741f66405480e68426 (patch) | |
tree | 4010605f841de82dbe5b6b1cb9e13200a52553e3 /parser.c | |
parent | 480a29594e62cd11c2c19abb42008472fcd9fa10 (diff) |
Fix incorrect usage of the term subshell when command substitution was meant
darcs-hash:20060822143831-ac50b-cb5267a6434adcbd5bafb452d688bee06c23d4d6.gz
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1863,7 +1863,7 @@ static int parse_job( process_t *p, { nxt = expand_one( j, wcsdup(tok_last( tok )), - EXPAND_SKIP_SUBSHELL | EXPAND_SKIP_VARIABLES); + EXPAND_SKIP_CMDSUBST | EXPAND_SKIP_VARIABLES); if( nxt == 0 ) { @@ -2747,7 +2747,7 @@ static int parser_get_block_type( const wchar_t *cmd ) } /** - \return the block type created by the specified builtin, or -1 on error. + \return the block command that createa the specified block type, or null on error. */ static const wchar_t *parser_get_block_command( int type ) { @@ -2800,7 +2800,7 @@ static int parser_test_argument( const wchar_t *arg, string_buffer_t *out, const } free( arg_cpy ); return 1; - + case 0: do_loop = 0; break; @@ -3034,7 +3034,7 @@ int parser_test( const wchar_t * buff, if( !(cmd = expand_one( context, wcsdup( tok_last( &tok ) ), - EXPAND_SKIP_SUBSHELL | EXPAND_SKIP_VARIABLES ) ) ) + EXPAND_SKIP_CMDSUBST | EXPAND_SKIP_VARIABLES ) ) ) { err=1; if( out ) |