gbranden pushed a commit to branch master
in repository groff.

commit 6eeeca1d912b8a82198e7851459cf3015dcd9b75
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Aug 31 19:42:15 2025 -0500

    src/roff/troff/node.cpp: Annotate future work.
    
    ...potentially.
---
 src/roff/troff/node.cpp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index 446571d96..ad7613e24 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -4013,6 +4013,7 @@ void line_start_node::asciify(macro *)
   delete this;
 }
 
+// TODO: If we chose a delimiter, we could undivert these.
 void vertical_size_node::asciify(macro *)
 {
   delete this;
@@ -4020,24 +4021,31 @@ void vertical_size_node::asciify(macro *)
 
 void dummy_node::asciify(macro *)
 {
+  // TODO: m->append(ESCAPE_AMPERSAND); ?
   delete this;
 }
 
 void transparent_dummy_node::asciify(macro *)
 {
+  // TODO: m->append(ESCAPE_c); ?
   delete this;
 }
 
+// XXX: Could tag_node justify itself as a kind of device_extension_node
+// that can't be undiverted?
 void tag_node::asciify(macro *)
 {
   delete this;
 }
 
+// TODO: If we knew what delimiter to select, we could undivert these,
+// but the macro's character list could contain anything.
 void device_extension_node::asciify(macro *)
 {
   delete this;
 }
 
+// TODO: If we chose a delimiter, we could undivert these.
 void vmotion_node::asciify(macro *)
 {
   delete this;

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

Reply via email to