Follow-up Comment #1, bug #68240 (group groff):
commit fe55a4e4b5cc555a0bfd7dc9859f73135abe2a6c Author: G. Branden Robinson <[email protected]> Date: Wed May 6 08:48:28 2026 -0500 [troff]: Refactor. Separate engine logic from parsing logic with respect to an environment's temporary indentation. * src/roff/troff/env.h: Stop globally declaring `temporary_indent()`. (class environment): Declare new member functions returning `void`: `set_temporary_indent()` and `cancel_temporary_indent()`. Drop declaration of `friend` functions `temporary_indent()` and `cancel_temporary_indentation()`. * src/roff/troff/env.cpp (environment::set_temporary_indent) (environment::cancel_temporary_indent): New functions mutate object of `environment` class. (set_temporary_indentation): New function updates the environment and through mutator functions, much like the existing `cancel_temporary_indentation()` does. (temporary_indent): Use accessor member functions of `environment` class to get at object properties. Call `set_temporary_indentation()` instead of open-coding its operations. Continues the long process of fixing Savannah #68240. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?68240> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature
