From 71846502ae5af8e93e87355d178ce7d5704cdf32 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sat, 23 Feb 2013 17:04:17 +0100 Subject: [PATCH] doc: display locations in error as recommended by GNU Coding Standards * doc/bison.texi (Actions and Locations): here. --- doc/bison.texi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/bison.texi b/doc/bison.texi index 5366808a..2ed10c2f 100644 --- a/doc/bison.texi +++ b/doc/bison.texi @@ -4459,8 +4459,7 @@ exp: else @{ $$ = 1; - fprintf (stderr, - "Division by zero, l%d,c%d-l%d,c%d", + fprintf (stderr, "%d.%d-%d.%d: division by zero", @@3.first_line, @@3.first_column, @@3.last_line, @@3.last_column); @} @@ -4487,8 +4486,7 @@ exp: else @{ $$ = 1; - fprintf (stderr, - "Division by zero, l%d,c%d-l%d,c%d", + fprintf (stderr, "%d.%d-%d.%d: division by zero", @@3.first_line, @@3.first_column, @@3.last_line, @@3.last_column); @} -- 2.47.2