[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 125/126: [eqn]: Clarify diagnostic message.
From: |
G. Branden Robinson |
Subject: |
[groff] 125/126: [eqn]: Clarify diagnostic message. |
Date: |
Wed, 5 Jul 2023 17:03:22 -0400 (EDT) |
gbranden pushed a commit to branch branden-2023-07-05
in repository groff.
commit 7a0dbd98b937a03cec3f6c386f3843266e9bebed
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Jun 26 11:45:51 2023 -0500
[eqn]: Clarify diagnostic message.
* src/preproc/eqn/lex.cpp (do_delim): Do it.
Thanks to Doug McIlroy for the report <https://lists.gnu.org/archive/\
html/groff/2023-06/msg00158.html>.
---
ChangeLog | 9 +++++++++
src/preproc/eqn/lex.cpp | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 12435043f..447d530c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2023-06-26 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ [eqn]: Clarify diagnostic message.
+
+ * src/preproc/eqn/lex.cpp (do_delim): Do it.
+
+ Thanks to Doug McIlroy for the report <https://lists.gnu.org/\
+ archive/html/groff/2023-06/msg00158.html>.
+
2023-06-23 G. Branden Robinson <g.branden.robinson@gmail.com>
[troff]: Add unit tests for drawing commands.
diff --git a/src/preproc/eqn/lex.cpp b/src/preproc/eqn/lex.cpp
index d2d53f310..16e634f93 100644
--- a/src/preproc/eqn/lex.cpp
+++ b/src/preproc/eqn/lex.cpp
@@ -1094,7 +1094,7 @@ void do_delim()
c = get_char();
int d;
if (c == EOF || (d = get_char()) == EOF)
- lex_error("end of file while reading argument to 'delim'");
+ lex_error("end of input while reading argument to 'delim'");
else {
if (c == 'o' && d == 'f' && peek_char() == 'f') {
(void)get_char();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 125/126: [eqn]: Clarify diagnostic message.,
G. Branden Robinson <=