aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-12-08 16:22:06 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-12-08 16:25:07 -0800
commit925fe65dd8d51f481217ef1c11647a39ddf56351 (patch)
tree214a21714d4bbcf5fff0e531cbae7a23863bfd6a /parser.h
parent67b1f14a6f6d095af9141640c6d26771a5236693 (diff)
Remove the indentation part of parser_t::test(). Rename it to
detect_errors().
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.h b/parser.h
index 076bacef..39973665 100644
--- a/parser.h
+++ b/parser.h
@@ -487,7 +487,7 @@ public:
\param out if non-null, any errors in the command will be filled out into this buffer
\param prefix the prefix string to prepend to each error message written to the \c out buffer
*/
- parser_test_error_bits_t test(const wchar_t * buff, int *block_level = NULL, wcstring *out = NULL, const wchar_t *prefix = NULL);
+ parser_test_error_bits_t detect_errors(const wchar_t * buff, wcstring *out = NULL, const wchar_t *prefix = NULL);
/**
Test if the specified string can be parsed as an argument list,