Excise use of parser_t's error() functionality. Thread a

parse_error_list_t through all of the expand functions, enabling them to
report errors more directly. Improve aspects of error reporting for
expansion failures.
This commit is contained in:
ridiculousfish
2014-03-21 17:13:33 -07:00
parent c71b168402
commit ad6367018b
12 changed files with 221 additions and 152 deletions

View File

@@ -997,7 +997,7 @@ static int expand_test(const wchar_t *in, int flags, ...)
int res=1;
wchar_t *arg;
if (expand_string(in, output, flags))
if (expand_string(in, output, flags, NULL))
{
}