From 13bda5d4f77ca469bbbe0d9b1f268682a9f0ec71 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 4 Aug 2006 21:01:05 +0000 Subject: Better error handling again, and about to add more language features. --- src/build.y | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/build.y') 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 void yyerror( YYLTYPE *locp, Builder &bld, char const *msg ) { - fprintf( stderr, "%s:%d-%d:%d-%d: %s\n", - bld.file.c_str(), - locp->first_line, locp->last_line, - locp->first_column, locp->last_column, - msg - ); + bld.error( locp, msg ); } -- cgit v1.2.3