groff-commit
[Top][All Lists]
Advanced

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

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


From: Eric S. Raymond
Subject: [Groff-commit] groff/src/preproc/tbl main.cpp
Date: Fri, 09 Feb 2007 22:03:19 +0000

CVSROOT:        /sources/groff
Module name:    groff
Changes by:     Eric S. Raymond <esr>   07/02/09 22:03:19

Modified files:
        src/preproc/tbl: main.cpp 

Log message:
        A try at the new rule for block column allocation is now enabled by
        the new "experimental" flag.  It doesn't work right as yet; there
        appears to be some error in the computation of 3avail, the available
        line length.  The purpose of this patch is (a) to make experimenting
        with other formulas easy, and (b) leave the infrastructure for flag
        'experimental' in place for future experiments.  Do not document any
        behavior associated with this flag!

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/tbl/main.cpp?cvsroot=groff&r1=1.8&r2=1.9

Patches:
Index: main.cpp
===================================================================
RCS file: /sources/groff/groff/src/preproc/tbl/main.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- main.cpp    16 Jun 2005 09:47:49 -0000      1.8
+++ main.cpp    9 Feb 2007 22:03:19 -0000       1.9
@@ -508,6 +508,9 @@
          opt->decimal_point_char = arg[0];
       }
     }
+    else if (strieq(p, "experimental")) {
+      opt->flags |= table::EXPERIMENTAL;
+    }
     else {
       error("unrecognised global option `%1'", p);
       // delete opt;




reply via email to

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