aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-08-23 00:38:31 +1000
committerGravatar axel <axel@liljencrantz.se>2006-08-23 00:38:31 +1000
commit303473f20cc4ff55318b02741f66405480e68426 (patch)
tree4010605f841de82dbe5b6b1cb9e13200a52553e3 /parser.h
parent480a29594e62cd11c2c19abb42008472fcd9fa10 (diff)
Fix incorrect usage of the term subshell when command substitution was meant
darcs-hash:20060822143831-ac50b-cb5267a6434adcbd5bafb452d688bee06c23d4d6.gz
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/parser.h b/parser.h
index e82a6e7f..a41f4eba 100644
--- a/parser.h
+++ b/parser.h
@@ -179,9 +179,9 @@ enum parser_error
*/
EVAL_ERROR,
/**
- Error while evaluating subshell
+ Error while evaluating cmdsubst
*/
- SUBSHELL_ERROR,
+ CMDSUBST_ERROR,
}
;
@@ -217,7 +217,7 @@ wchar_t *parser_get_filename( void *context, const wchar_t *cmd );
int eval( const wchar_t *cmd, io_data_t *io, int block_type );
/**
- Evaluate line as a list of parameters, i.e. tokenize it and perform parameter expansion and subshell execution on the tokens.
+ Evaluate line as a list of parameters, i.e. tokenize it and perform parameter expansion and cmdsubst execution on the tokens.
The output is inserted into output, and should be freed by the caller.
\param line Line to evaluate