From e70d6db9a9513c6e2040f118264b1dd606ca5fe6 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 18 Feb 1997 03:57:19 +0000 Subject: Dave Bodenstab's error-message corrections. svn path=/trunk/; revision=900 --- rcfile_y.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rcfile_y.y') diff --git a/rcfile_y.y b/rcfile_y.y index 06f3cd23..029b84de 100644 --- a/rcfile_y.y +++ b/rcfile_y.y @@ -217,7 +217,7 @@ static struct query *hosttail; /* where to add new elements */ void yyerror (const char *s) /* report a syntax error */ { - fprintf(stderr,"%s line %d: %s at %s\n", rcfile, prc_lineno, s, yytext); + error_at_line( 0, 0, rcfile, prc_lineno, "%s at %s", s, yytext ); prc_errflag++; } -- cgit v1.2.3