gbranden pushed a commit to branch master
in repository groff.
commit bd540acadfdd5adafeca7e4a71ae6d077dbab615
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Nov 16 14:20:58 2025 -0600
[tbl]: Trivially refactor (2/2).
* src/preproc/tbl/table.cpp: Update preprocessor macro
`TEXT_BLOCK_STAGGER_MACRO` definition to indicate its purpose rather
details of its implementation. This is to help anyone having to debug
tbl's output maintain their sanity.
---
ChangeLog | 8 ++++++++
src/preproc/tbl/table.cpp | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 7b2c022cf..15be52b7e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2025-11-16 G. Branden Robinson <[email protected]>
+
+ * src/preproc/tbl/table.cpp: Trivially refactor. Update
+ preprocessor macro `TEXT_BLOCK_STAGGER_MACRO` definition to
+ indicate its purpose rather details of its implementation. This
+ is to help anyone having to debug tbl's output maintain their
+ sanity.
+
2025-11-16 G. Branden Robinson <[email protected]>
* src/preproc/tbl/table.cpp: Trivially refactor. Rename
diff --git a/src/preproc/tbl/table.cpp b/src/preproc/tbl/table.cpp
index 0b7f13f6e..fcd1f7a62 100644
--- a/src/preproc/tbl/table.cpp
+++ b/src/preproc/tbl/table.cpp
@@ -66,7 +66,7 @@ const int DEFAULT_COLUMN_SEPARATION = 3;
#define NEEDED_REG PREFIX "needed"
#define REPEATED_MARK_MACRO PREFIX "rmk"
#define REPEATED_VPT_MACRO PREFIX "rvpt"
-#define TEXT_BLOCK_STAGGER_MACRO PREFIX "sp"
+#define TEXT_BLOCK_STAGGER_MACRO PREFIX "stagger"
#define SUPPRESS_BOTTOM_REG PREFIX "supbot"
#define SAVED_DN_REG PREFIX "dn"
#define SAVED_HYPHENATION_MODE_REG PREFIX "hyphmode"
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit