gbranden pushed a commit to branch master
in repository groff.
commit 39529a8c58115cc5dcd6e959976bd3b2a5184c10
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Nov 10 07:14:51 2025 -0600
src/roff/troff/node.cpp: Update annotation.
Say why it's good to dump a glyph's charinfo when we can't asciify it.
---
src/roff/troff/node.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index fc6734b97..fa053a7e4 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -3950,7 +3950,9 @@ void glyph_node::asciify(macro *m)
// a glyph's charinfo, it no longer has a "name"--it's already
// been looked up in the dictionary. (Also, multiple names
// can refer to the same charinfo datum.) And this racket
- // beats telling the user nothing at all about the glyph.
+ // beats telling the user nothing at all about the glyph: if
+ // the character was defined by request (`char` et al.), this
+ // dump reports the file name and line number of that request.
ci->dump();
}
}
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit