summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2016-10-04 20:54:49 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2016-10-04 20:54:49 +0000
commit710e7be2e23d98dbfc5ac28297a122dd135ca0c3 (patch)
tree604529ecca5ec94dc7fd258e753fb0c2abcf032f /error.c
parent7118255f507c5b3f3ae663043547c6525b79a4d9 (diff)
Notes
Diffstat (limited to 'error.c')
-rw-r--r--error.c9
1 files changed, 5 insertions, 4 deletions
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