* tta/C/main/element_types.awk: fix type_data first item.
diff --git a/ChangeLog b/ChangeLog index 6c534d9..f0cc13b 100644 --- a/ChangeLog +++ b/ChangeLog
@@ -1,5 +1,9 @@ 2026-11-22 Patrice Dumas <pertusus@free.fr> + * tta/C/main/element_types.awk: fix type_data first item. + +2026-11-22 Patrice Dumas <pertusus@free.fr> + title command and anchor command for node added for sectioning * tta/C/structuring_transfo/structuring.c
diff --git a/tta/C/main/element_types.awk b/tta/C/main/element_types.awk index dc9758e..516cae0 100644 --- a/tta/C/main/element_types.awk +++ b/tta/C/main/element_types.awk
@@ -32,7 +32,7 @@ print "#include \"types_data.h\"" > TDC print "" > TDC print "const TYPE_DATA type_data[] = {" > TDC - print "{0, 0, 0}," > TDC + print "{0, 0}," > TDC } !/^$/ && !/^#/ {
diff --git a/tta/C/main/element_types.txt b/tta/C/main/element_types.txt index c61df23..61be6ac 100644 --- a/tta/C/main/element_types.txt +++ b/tta/C/main/element_types.txt
@@ -40,8 +40,7 @@ definfoenclose_command with_command # only in C. These types should only be used in code to set the -# type at the element creation, except maybe to help with the handling -# of C specific data +# type at the element creation. nobrace_command c_only line_command c_only block_command c_only
diff --git a/tta/C/main/types_data.c b/tta/C/main/types_data.c index 4d45b47..7655594 100644 --- a/tta/C/main/types_data.c +++ b/tta/C/main/types_data.c
@@ -3,7 +3,7 @@ #include "types_data.h" const TYPE_DATA type_data[] = { -{0, 0, 0}, +{0, 0}, {"index_entry_command", TF_with_command}, {"definfoenclose_command", TF_with_command}, {"nobrace_command", TF_c_only},