gbranden pushed a commit to branch master
in repository groff.
commit 4b21f072ce1a7b67bd889368a8af7a77da766ef4
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Sep 3 20:58:58 2022 -0500
[pic]: State ignorance of unsafe command in diag.
* src/preproc/pic/pic.ypp (placeless_element): Explicitly say that an
unsafe command is being ignored in diagnostic.
---
ChangeLog | 5 +++++
src/preproc/pic/pic.ypp | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 0d9e403be..9dc518f3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-09-03 G. Branden Robinson <[email protected]>
+
+ * src/preproc/pic/pic.ypp (placeless_element): Explicitly say
+ that an unsafe command is being ignored in diagnostic.
+
2022-09-03 G. Branden Robinson <[email protected]>
* src/preproc/eqn/main.cpp (main): Drop man page reference from
diff --git a/src/preproc/pic/pic.ypp b/src/preproc/pic/pic.ypp
index 3fec08e9f..c30283477 100644
--- a/src/preproc/pic/pic.ypp
+++ b/src/preproc/pic/pic.ypp
@@ -359,7 +359,8 @@ placeless_element:
{
delim_flag = 0;
if (safer_flag)
- lex_error("unsafe to run command '%1'", $3);
+ lex_error("unsafe to run command '%1'; ignoring",
+ $3);
else {
int retval = system($3);
if (retval < 0)
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit