aboutsummaryrefslogtreecommitdiffhomepage
path: root/parse_execution.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-12-28 16:33:26 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-12-28 16:33:26 -0800
commitc632307eaa4fdd8ac09bb1a9bf031101b1e0b6a2 (patch)
treed6dd1f9ca612e2ef2eb9b3ec08300eedfd3c3ddb /parse_execution.h
parent0f9de11a67a5bbf3fe0c3be7f55cb25a7987ed4d (diff)
Make eval_node_at_offset return an error indication instead of the exit
status of the last command
Diffstat (limited to 'parse_execution.h')
-rw-r--r--parse_execution.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse_execution.h b/parse_execution.h
index 901f7981..8d89158b 100644
--- a/parse_execution.h
+++ b/parse_execution.h
@@ -71,7 +71,7 @@ class parse_execution_context_t
public:
parse_execution_context_t(const parse_node_tree_t &t, const wcstring &s, parser_t *p);
- /* Start executing at the given node offset, returning the exit status of the last process. */
+ /* Start executing at the given node offset. Returns 0 if there was no error, 1 if there was an error */
int eval_node_at_offset(node_offset_t offset, const block_t *associated_block, const io_chain_t &io);
};