commit | f1e6c069fac93dd2b7b2026ccd24833a066c895a | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Thu Jun 17 12:03:25 2010 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Mon Jun 21 12:31:02 2010 -0700 |
tree | 37bd98609c64e6b87c05308c6c69f567c4208920 | |
parent | b78c9ddfbfecb983f7ab519bb07889333bdab959 [diff] [blame] |
glcpp: Introduce new glcpp_error function.
diff --git a/glcpp/glcpp-parse.y b/glcpp/glcpp-parse.y index f26dd9a..d7a1048 100644 --- a/glcpp/glcpp-parse.y +++ b/glcpp/glcpp-parse.y
@@ -879,8 +879,7 @@ void yyerror (YYLTYPE *locp, glcpp_parser_t *parser, const char *error) { - glcpp_printf(parser->errors, "%u:%u(%u): preprocessor error: %s\n", - locp->source, locp->first_line, locp->first_column, error); + glcpp_error(locp, parser, "%s", error); } glcpp_parser_t *