bug-groff
[Top][All Lists]
Advanced

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

[bug #64866] [troff] throws useless warning about `bd` request in nroff


From: G. Branden Robinson
Subject: [bug #64866] [troff] throws useless warning about `bd` request in nroff mode
Date: Mon, 6 Nov 2023 11:51:58 -0500 (EST)

Update of bug #64866 (project groff):

                  Status:                    None => In Progress            
             Assigned to:                    None => gbranden               

    _______________________________________________________

Follow-up Comment #1:


diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index b519f6927..0b6122157 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -6491,6 +6491,10 @@ hunits env_narrow_space_width(environment *env)
 
 static void embolden_font()
 {
+  if (in_nroff_mode) {
+    skip_line();
+    return;
+  }
   font_lookup_info finfo;
   if (!(has_arg()))
     warning(WARN_MISSING, "font name or position expected in"




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64866>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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