Follow-up Comment #21, bug #68064 (group groff):

Adding cross reference.


commit 464323a43ff41662905cab39ba171daa73572767
Author: G. Branden Robinson <[email protected]>
Date:   Fri Apr 3 15:23:25 2026 -0500

    src/roff/troff/input.cpp: Refactor (2/2).
    
    * src/roff/troff/input.cpp (interpolate_macro_or_invoke_request): Drop
      early `return` when no invokable request or callable macro exists on
      control line.  Add assert(3)ion at end of function to enforce
      invariant: once we've processed a control line, either
      `can_accept_control_character` must be true or the token pending on
      the input stream must represent the end of input.
    
    Tested by temporarily deleting the `tok.next()` at the end of
    `system_request()` in "input.cpp" (recalling Savannah #68064).
    
    $ ../src/roff/groff/tests/sy-request-works.sh
    checking that 'sy' request works
    hello
    checking that parser returns to correct state after 'sy'
    
    ...FAILED




    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to