[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61520] grog (rewritten) falsely detects refer(1) usage in xterm's
From: |
G. Branden Robinson |
Subject: |
[bug #61520] grog (rewritten) falsely detects refer(1) usage in xterm's ctlseqs.ms document |
Date: |
Tue, 23 Nov 2021 10:11:53 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Update of bug #61520 (project groff):
Status: Confirmed => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.23.0
_______________________________________________________
Follow-up Comment #1:
commit c89f1a91651109bb27f25bc9b15c7db29e899723
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Wed Nov 24 00:48:42 2021 +1100
[grog]: Fix Savannah #61520.
* src/utils/grog/grog.pl: Move hash `preprocessor_for_macro` to global
scope since it is now mutable across `do_line` subroutine calls.
(do_line): Adjust regex matching an end macro to work better. Check
names of macros being defined by the document; if they start with '['
or ']', stop attempting to detect refer(1) usage, by deleting its key
from the `preprocessor_for_macro` hash.
Fixes <https://savannah.gnu.org/bugs/?61520>.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61520>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/