diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2016-10-04 20:54:49 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2016-10-04 20:54:49 +0000 |
commit | 710e7be2e23d98dbfc5ac28297a122dd135ca0c3 (patch) | |
tree | 604529ecca5ec94dc7fd258e753fb0c2abcf032f /error.c | |
parent | 7118255f507c5b3f3ae663043547c6525b79a4d9 (diff) |
Notes
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 |