[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61758] [grog] doesn't handle auxiliary package -m arguments correc
From: |
G. Branden Robinson |
Subject: |
[bug #61758] [grog] doesn't handle auxiliary package -m arguments correctly |
Date: |
Tue, 11 Jan 2022 06:35:08 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Update of bug #61758 (project groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.23.0
_______________________________________________________
Follow-up Comment #1:
commit 192a494e73741c7b0aa6df608e334bab21044eef
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Tue Jan 4 04:39:56 2022 +1100
[grog]: Handle auxiliary `-m` options correctly.
* src/utils/grog/grog.pl: Handle auxiliary macro package arguments
correctly.
(process_arguments): Don't append the argument to the '-m' option to
the command line; requested macro packages have dedicated logic.
(construct_command): When iterating through requested package list,
assume each element is an auxiliary package unless it matches an
element in the list of main packages. If the assumption holds, append
the package name to a new list, `auxiliary_package_argument` (prefixed
with '-m'). Push this list onto the command line after any main
package.
Also rename `$selected_main_package` to `$main_package` for brevity,
and drop unused global lists `m` and `supplemental_package`.
Fixes <https://savannah.gnu.org/bugs/?61758>.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61758>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/