[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 10/51: [pic]: State ignorance of unsafe command in diag.
From: |
G. Branden Robinson |
Subject: |
[groff] 10/51: [pic]: State ignorance of unsafe command in diag. |
Date: |
Sun, 11 Sep 2022 08:15:49 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 4b21f072ce1a7b67bd889368a8af7a77da766ef4
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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 <g.branden.robinson@gmail.com>
+
+ * src/preproc/pic/pic.ypp (placeless_element): Explicitly say
+ that an unsafe command is being ignored in diagnostic.
+
2022-09-03 G. Branden Robinson <g.branden.robinson@gmail.com>
* 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 10/51: [pic]: State ignorance of unsafe command in diag.,
G. Branden Robinson <=