gbranden pushed a commit to branch branden-2023-07-05
in repository groff.
commit 7a0dbd98b937a03cec3f6c386f3843266e9bebed
Author: G. Branden Robinson <[email protected]>
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 <[email protected]>
+
+ [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 <[email protected]>
[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();
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit