From: Akim Demaille Date: Sat, 23 Feb 2013 16:04:17 +0000 (+0100) Subject: doc: display locations in error as recommended by GNU Coding Standards X-Git-Tag: v2.7.90~41 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/71846502ae5af8e93e87355d178ce7d5704cdf32?ds=inline;hp=--cc doc: display locations in error as recommended by GNU Coding Standards * doc/bison.texi (Actions and Locations): here. --- 71846502ae5af8e93e87355d178ce7d5704cdf32 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); @}