groff-commit
[Top][All Lists]
Advanced

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

[Groff-commit] groff ChangeLog src/preproc/tbl/table.cpp


From: Werner LEMBERG
Subject: [Groff-commit] groff ChangeLog src/preproc/tbl/table.cpp
Date: Thu, 04 Feb 2010 20:11:46 +0000

CVSROOT:        /cvsroot/groff
Module name:    groff
Changes by:     Werner LEMBERG <wl>     10/02/04 20:11:46

Modified files:
        .              : ChangeLog 
        src/preproc/tbl: table.cpp 

Log message:
        Improve `tbl' warnings.
        
        * src/preproc/tbl/table.cpp (table::compute_expand_width,
        table::compute_separation_factor): Add file name strings to
        warnings.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1221&r2=1.1222
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/tbl/table.cpp?cvsroot=groff&r1=1.20&r2=1.21

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1221
retrieving revision 1.1222
diff -u -b -r1.1221 -r1.1222
--- ChangeLog   23 Jan 2010 07:23:24 -0000      1.1221
+++ ChangeLog   4 Feb 2010 20:11:46 -0000       1.1222
@@ -1,3 +1,11 @@
+2010-02-04  Larry Kollar  <address@hidden>
+
+       Improve `tbl' warnings.
+
+       * src/preproc/tbl/table.cpp (table::compute_expand_width,
+       table::compute_separation_factor): Add file name strings to
+       warnings.
+
 2010-01-23  Bjarni Ingi Gislason  <address@hidden>
 
        Fix `MC' macro of the ms package.

Index: src/preproc/tbl/table.cpp
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/tbl/table.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- src/preproc/tbl/table.cpp   4 Jan 2009 14:51:10 -0000       1.20
+++ src/preproc/tbl/table.cpp   4 Feb 2010 20:11:46 -0000       1.21
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2003, 2004, 2007, 2008,
-                 2009
+                 2009, 2010
    Free Software Foundation, Inc.
      Written by James Clark (address@hidden)
 
@@ -2079,7 +2079,8 @@
   prints("\n");
   prints(".if \\n[" EXPAND_REG "]<0 \\{");
   entry_list->set_location();
-  prints(".tm warning: around line \\n[.c]: table wider than line width\n"
+  prints(".tm1 \"warning: file `\\n[.F]', around line \\n[.c]:\n"
+         ".tm1 \"  table wider than line width\n"
         ".nr " EXPAND_REG " 0\n"
         ".\\}\n");
   if (colcount > 1)
@@ -2117,12 +2118,14 @@
   printfs("/%1\n", as_string(total_separation));
   prints(".ie \\n[" SEPARATION_FACTOR_REG "]<=0 \\{");
   entry_list->set_location();
-  prints(".tm warning: around line \\n[.c]: column separation set to zero\n"
+  prints(".tm1 \"warning: file `\\n[.F]', around line \\n[.c]:\n"
+         ".tm1 \"  column separation set to zero\n"
         ".nr " SEPARATION_FACTOR_REG " 0\n"
         ".\\}\n"
         ".el .if \\n[" SEPARATION_FACTOR_REG "]<1n \\{");
   entry_list->set_location();
-  prints(".tm warning: around line \\n[.c]: table squeezed horizontally to fit 
line length\n"
+  prints(".tm1 \"warning: file `\\n[.F]', around line \\n[.c]:\n"
+         ".tm1 \"  table squeezed horizontally to fit line length\n"
         ".\\}\n");
 }
 




reply via email to

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