aboutsummaryrefslogtreecommitdiffhomepage
path: root/parse_execution.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-01 00:04:02 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-01 00:04:02 -0800
commit27cba56761de987c778937521987759475e27051 (patch)
tree6dab5e3054b009060f31e4cca72dff91016ed006 /parse_execution.h
parente2da73bf4f540b6dc98c7abda94597e658c9c40a (diff)
Further improvements to error reporting with new parser
Diffstat (limited to 'parse_execution.h')
-rw-r--r--parse_execution.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse_execution.h b/parse_execution.h
index d22da442..feeb7404 100644
--- a/parse_execution.h
+++ b/parse_execution.h
@@ -60,9 +60,9 @@ class parse_execution_context_t
execution_cancellation_reason_t cancellation_reason(const block_t *block) const;
/* Report an error. Always returns true. */
- parse_execution_result_t append_error(const parse_node_t &node, const wchar_t *fmt, ...);
+ parse_execution_result_t report_error(const parse_node_t &node, const wchar_t *fmt, ...);
/* Wildcard error helper */
- parse_execution_result_t append_unmatched_wildcard_error(const parse_node_t &unmatched_wildcard);
+ parse_execution_result_t report_unmatched_wildcard_error(const parse_node_t &unmatched_wildcard);
void handle_command_not_found(const wcstring &cmd, const parse_node_t &statement_node, int err_code);