[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Sun, 29 Sep 2024 08:51:34 -0400 (EDT) |
branch: master
commit 598a23fc2cf1fe1bdf4a58b96e2cfe9943902ed2
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Jun 26 23:56:24 2024 +0200
* tp/Texinfo/XS/main/tree_types.h (OUTPUT_UNIT): use a union for
unit_command and special_unit_command.
---
ChangeLog | 5 +++++
tp/Texinfo/XS/main/tree_types.h | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 1c42b9148e..49c1b8481e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-06-26 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/main/tree_types.h (OUTPUT_UNIT): use a union for
+ unit_command and special_unit_command.
+
2024-06-26 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/OutputUnits.pm (output_unit_texi),
diff --git a/tp/Texinfo/XS/main/tree_types.h b/tp/Texinfo/XS/main/tree_types.h
index 70b5f2a7c1..0e6a8ebf48 100644
--- a/tp/Texinfo/XS/main/tree_types.h
+++ b/tp/Texinfo/XS/main/tree_types.h
@@ -291,7 +291,7 @@ typedef struct OUTPUT_UNIT {
enum output_unit_type unit_type;
size_t index;
- struct {
+ union {
const struct ELEMENT *unit_command;
/* for special units, not in the tree */
struct ELEMENT *special_unit_command;