[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #65902] [grog] does not recognize chem preprocessor
From: |
G. Branden Robinson |
Subject: |
[bug #65902] [grog] does not recognize chem preprocessor |
Date: |
Fri, 21 Jun 2024 22:40:23 -0400 (EDT) |
Update of bug #65902 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.24.0
_______________________________________________________
Follow-up Comment #3:
commit 8c4788c44d277814e744a1bacfcc4b10a8b4907b
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Thu Jun 20 18:56:35 2024 -0500
[grog]: Fix Savannah #65902 (detect use of chem(1)).
* src/utils/grog/grog.pl: Take `cstart` and `cend` tokens out of
`preprocessor_for_macro` hash. They don't work with the existing
logic. Also drop tokens used by preprocessors that don't have
corresponding groff(1) options and therefore don't influence the
output grog(1) can emit.
(do_line): Add bespoke handling for `cstart` and `cend`. Not only are
they the only AT&T troff preprocessor tokens that are longer than two
characters, but their names collide in those first two characters with
the names of troff requests.
Fixes Savannah #65902. Thanks to Morten Bo Johansen for the report.
Problem introduced by me in commit 53a9964497, 31 July 2021.
ANNOUNCE: Acknowledge Morten.
commit 3a06689e7b78a7ba4a4c50881310e87078a30303
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Thu Jun 20 14:10:24 2024 -0500
[grog]: Regression-test Savannah #65902.
* src/utils/grog/tests/detect-chem.sh: Do it.
* src/utils/grog/grog.am (grog_TESTS): Run test.
Test fails at this commit.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65902>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/