From 52eba44ac4901595d670b1a3c2704f126d2ad8de Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Mon, 5 Dec 1994 14:42:41 +0000 Subject: [PATCH] Print arg of yy_error --- src/db/atdb_yacc.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/atdb_yacc.y b/src/db/atdb_yacc.y index 1be5e3c00..27fab938a 100644 --- a/src/db/atdb_yacc.y +++ b/src/db/atdb_yacc.y @@ -128,7 +128,7 @@ junko: WORD yyerror(str) char *str; { - sprintf(message,"Error line %d : %s\n",line_num, yytext); + sprintf(message,"Error line %d : %s %s\n",line_num, yytext,str); errMessage(-1,message); }