aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-08-15 00:57:56 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-08-15 00:57:56 -0700
commit61686aff34a9f8c9d4db1045bce987c85d009061 (patch)
tree3f352033e0bcde6aa7f89487c98b55db72b9499b /parser.h
parentad6645c48da8ae733113ddf07a8675c750c23e1b (diff)
Adopt posix_spawn (!)
Rewrite IO chains to be a vector of pointers, instead of a linked list Removed io_transmogrify
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser.h b/parser.h
index b74a239c..27200833 100644
--- a/parser.h
+++ b/parser.h
@@ -347,7 +347,7 @@ class parser_t {
event_block_list_t global_event_blocks;
/** Current block level io redirections */
- io_data_t *block_io;
+ io_chain_t block_io;
/**
Evaluate the expressions contained in cmd.
@@ -358,7 +358,7 @@ class parser_t {
\return 0 on success, 1 otherwise
*/
- int eval( const wcstring &cmd, io_data_t *io, enum block_type_t block_type );
+ int eval( const wcstring &cmdStr, const io_chain_t &io, enum block_type_t block_type );
/**
Evaluate line as a list of parameters, i.e. tokenize it and perform parameter expansion and cmdsubst execution on the tokens.