From 710e7be2e23d98dbfc5ac28297a122dd135ca0c3 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Tue, 4 Oct 2016 20:54:49 +0000 Subject: Import byacc 20160606. --- error.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'error.c') diff --git a/error.c b/error.c index a042aec71e73e..dd626353f45fe 100644 --- a/error.c +++ b/error.c @@ -1,4 +1,4 @@ -/* $Id: error.c,v 1.11 2014/04/07 22:22:49 tom Exp $ */ +/* $Id: error.c,v 1.13 2016/06/07 00:15:16 tom Exp $ */ /* routines for printing error messages */ @@ -267,11 +267,12 @@ unknown_rhs(int i) } void -default_action_warning(void) +default_action_warning(char *s) { fprintf(stderr, - "%s: w - line %d of \"%s\", the default action assigns an \ -undefined value to $$\n", myname, lineno, input_file_name); + "%s: w - line %d of \"%s\", the default action for %s assigns an \ +undefined value to $$\n", + myname, lineno, input_file_name, s); } void -- cgit v1.2.3