diff options
Diffstat (limited to '')
-rw-r--r-- | src/build.y | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/build.y b/src/build.y index 4d87a86..bf565fb 100644 --- a/src/build.y +++ b/src/build.y | |||
@@ -244,10 +244,5 @@ rulecompletion: TOK_COMMAND STRING | |||
244 | 244 | ||
245 | void yyerror( YYLTYPE *locp, Builder &bld, char const *msg ) | 245 | void yyerror( YYLTYPE *locp, Builder &bld, char const *msg ) |
246 | { | 246 | { |
247 | fprintf( stderr, "%s:%d-%d:%d-%d: %s\n", | 247 | bld.error( locp, msg ); |
248 | bld.file.c_str(), | ||
249 | locp->first_line, locp->last_line, | ||
250 | locp->first_column, locp->last_column, | ||
251 | msg | ||
252 | ); | ||
253 | } | 248 | } |