groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 01/14: [troff]: Revise diagnostic wording.


From: G. Branden Robinson
Subject: [groff] 01/14: [troff]: Revise diagnostic wording.
Date: Tue, 6 Jul 2021 05:05:45 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 045732c5a2bfd99e7fdee2ca86c928b391392f4b
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Jul 5 14:06:19 2021 +1000

    [troff]: Revise diagnostic wording.
    
    * src/roff/troff/reg.cpp (alter_format): Say simply "register" instead
      of "number register" (there is no other kind).
    
    Continues commit 31e8ff9d, 30 June.
---
 src/roff/troff/reg.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/roff/troff/reg.cpp b/src/roff/troff/reg.cpp
index 1a18be7..f0cba21 100644
--- a/src/roff/troff/reg.cpp
+++ b/src/roff/troff/reg.cpp
@@ -402,9 +402,9 @@ void alter_format()
   else if (c == 'i' || c == 'I' || c == 'a' || c == 'A')
     r->alter_format(c);
   else if (tok.newline() || tok.eof())
-    warning(WARN_MISSING, "missing number register format");
+    warning(WARN_MISSING, "missing register format");
   else
-    error("bad number register format (got %1)", tok.description());
+    error("bad register format (got %1)", tok.description());
   skip_line();
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]