gbranden pushed a commit to branch master
in repository groff.

commit 31c4aa88d4504aca5c39490adc6675ca7a18161a
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Nov 22 14:10:30 2026 -0600

    [troff]: Tweak node dumping report.
    
    * src/roff/troff/node.cpp (device_extension_node::dump_properties):
      Identify the character sequence sent to "grout" as "contents", not
      "macro"; the latter is a badly misleading term in this context.
---
 ChangeLog               | 7 +++++++
 src/roff/troff/node.cpp | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 2aeadf8d6..facdb138e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2026-11-22  G. Branden Robinson <[email protected]>
+
+       * src/roff/troff/node.cpp
+       (device_extension_node::dump_properties): Identify the character
+       sequence sent to "grout" as "contents", not "macro"; the latter
+       is a badly misleading term in this context.
+
 2026-11-22  G. Branden Robinson <[email protected]>
 
        * src/devices/grotty/tty.cpp (tty_printer::add_char): Improve
diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index 6b3a4df62..f5a503fb3 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -4410,7 +4410,7 @@ device_extension_node::device_extension_node(const macro 
&m, tfont *t,
 void device_extension_node::dump_properties()
 {
   node::dump_properties();
-  fputs(", \"macro\": {", stderr);
+  fputs(", \"contents\": {", stderr);
   mac.json_dump();
   fputc('}', stderr);
   fputs(", \"tfont\": ", stderr);

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to