aboutsummaryrefslogtreecommitdiffhomepage
path: root/parse_tree.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-12-12 18:18:07 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-12-12 18:18:07 -0800
commit5cf59de6763a0000fdc87f0101ca78bd137dffcc (patch)
treeb9700e9650a4a06af91ec24dad0c621f8381c3d5 /parse_tree.h
parente25d49b80b0668b55a58e1445aa047a68a1043d3 (diff)
Finish rewriting detect_errors to use new parser. All tests now pass (!)
Diffstat (limited to 'parse_tree.h')
-rw-r--r--parse_tree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/parse_tree.h b/parse_tree.h
index e65d1baf..8a0b3eed 100644
--- a/parse_tree.h
+++ b/parse_tree.h
@@ -38,6 +38,9 @@ struct parse_error_t
};
typedef std::vector<parse_error_t> parse_error_list_t;
+/* Returns a description of a list of parse errors */
+wcstring parse_errors_description(const parse_error_list_t &errors, const wcstring &src, const wchar_t *prefix = NULL);
+
/** A struct representing the token type that we use internally */
struct parse_token_t
{