Sync-to-go: src/pre-pic..
commit996f584ed7f98e6df4f515031d8d2c8ebd6c58d3
authorSteffen Nurpmeso <sdaoden@users.sf.net>
Tue, 9 Jun 2015 14:07:42 +0000 (9 16:07 +0200)
committerSteffen Nurpmeso <sdaoden@users.sf.net>
Tue, 14 Jul 2015 14:28:36 +0000 (14 16:28 +0200)
treea935ad0dd52c0e40a96505368e10096b8c24993f
parentc5ce9ec6d60e78142ca9adc41fae3f72f1288468
Sync-to-go: src/pre-pic..

Includes a fix forĀ [1].
It misses some commits:

. TODO [d9bd7bc] (pic: Fix handling of nested positions.,
  2009-06-16).  Fixes yacc code; as Werner wrote: so that we can
  handle

    (1/3)<(1/2)<foo,bar>,baz>

  correctly.  Without the patch, `(1/3)<(1/2)' is handled
  prematurely as a comparison.
  I hate generated parsers and have to dig the logic behind this.

. TODO [7d7c4f4] ([pic] Fix a border case for arc computation.,
  2009-09-01).  I have not taken this

  -    while (radius < d)
  -      radius *= 2.0;
  +    if (radius < d)
  +      radius = d;

  in order to understand what happens.

  [1] http://savannah.gnu.org/bugs/?42151
man/pre-pic.1.in
src/pre-pic/lex.cpp
src/pre-pic/pic-config.h.in
src/pre-pic/troff.cpp