gbranden pushed a commit to branch master in repository groff. commit ba1f550d81c0b58e45ef269204b268dde82a6915 Author: G. Branden Robinson <g.branden.robin...@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 3f2b4ea62..f866d99a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2023-06-26 G. Branden Robinson <g.branden.robin...@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.robin...@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(); _______________________________________________ Groff-commit mailing list Groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit