Update of bug #45502 (group groff):

                  Status:             In Progress => Fixed                  
             Open/Closed:                    Open => Closed                 
         Planned Release:                    None => 1.24.0                 

    _______________________________________________________

Follow-up Comment #19:


commit 1381d6a3471b88ec3d2a8aa601836531e0b3a9eb
Author: G. Branden Robinson <g.branden.robin...@gmail.com>
Date:   Fri Apr 5 09:17:14 2024 -0500

    src/roff/troff/input.cpp: Fix Savannah #45502.
    
    * src/roff/troff/input.cpp (skip_branch): Handle control flow branches
      consisting only of a newline correctly when skipping them--actually
      skip them, as AT&T troff does.  A newline after the `el` request, or
      after the conditional expression of an `if`, `ie`, or `while` request,
      is not "nothing"; if the branch is taken, it puts a newline on the
      output, and if it is not taken, it should neither affect output nor be
      _syntactically_ ignored on the pretense that the next input line was
      actually part of the branch.
    
    Fixes <https://savannah.gnu.org/bugs/?45502>.  Problem likely goes back
    to groff's origin.  (You could always avoid it with brace escape
    sequences, which might explain why it seemed to cause little
    consternation.)  Thanks to Carsten Kunze for the report and to Dave
    Kemper for the code review.

commit ac042bfcd0eabe586790f4d424091466cf426768
Author: G. Branden Robinson <g.branden.robin...@gmail.com>
Date:   Thu Apr 4 23:54:17 2024 -0500

    [troff]: Regression-test Savannah #45502.
    
    Test fails at this commit.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?45502>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to