bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/4] doc: display locations in error as recommended by GNU Coding


From: Akim Demaille
Subject: [PATCH 1/4] doc: display locations in error as recommended by GNU Coding Standards
Date: Tue, 9 Apr 2013 17:27:43 +0200

* 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 5366808..2ed10c2 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);
         @}
-- 
1.8.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]