diff options
Diffstat (limited to 'src/parse_util.h')
-rw-r--r-- | src/parse_util.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/parse_util.h b/src/parse_util.h index 28286ed8..760d4477 100644 --- a/src/parse_util.h +++ b/src/parse_util.h @@ -7,11 +7,10 @@ #ifndef FISH_PARSE_UTIL_H #define FISH_PARSE_UTIL_H -#include "autoload.h" -#include "parse_tree.h" -#include <wchar.h> -#include <map> -#include <set> +#include <stddef.h> +#include <vector> +#include "common.h" +#include "parse_constants.h" /** Find the beginning and end of the first subshell in the specified string. @@ -186,6 +185,7 @@ parser_test_error_bits_t parse_util_detect_errors(const wcstring &buff_src, pars This does NOT currently detect unterminated quotes. */ +class parse_node_t; parser_test_error_bits_t parse_util_detect_errors_in_argument(const parse_node_t &node, const wcstring &arg_src, parse_error_list_t *out_errors = NULL); /* Given a string containing a variable expansion error, append an appropriate error to the errors list. The global_token_pos is the offset of the token in the larger source, and the dollar_pos is the offset of the offending dollar sign within the token. */ |