diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-13 13:14:18 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-13 13:19:58 -0800 |
commit | 212eeaa77c7408893df92aa9b312855bfc9dcd8e (patch) | |
tree | 74bee5635b75805f58a1714e1342f23169fd5170 /parse_tree.h | |
parent | eb28c710baa385cbd9b979e99736ef65b16de0db (diff) |
Correctly report errors for 'and' and 'or' in pipelines with new parser
Diffstat (limited to 'parse_tree.h')
-rw-r--r-- | parse_tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse_tree.h b/parse_tree.h index 5cc0a4cc..f77b8781 100644 --- a/parse_tree.h +++ b/parse_tree.h @@ -181,7 +181,7 @@ public: bool command_for_plain_statement(const parse_node_t &node, const wcstring &src, wcstring *out_cmd) const; /* Given a plain statement, return true if the statement is part of a pipeline. If include_first is set, the first command in a pipeline is considered part of it; otherwise only the second or additional commands are */ - bool plain_statement_is_in_pipeline(const parse_node_t &node, bool include_first) const; + bool statement_is_in_pipeline(const parse_node_t &node, bool include_first) const; /* Given a redirection, get the redirection type (or TOK_NONE) and target (file path, or fd) */ enum token_type type_for_redirection(const parse_node_t &node, const wcstring &src, int *out_fd, wcstring *out_target) const; |