[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Reindent enum declarations
From: |
Patrice Dumas |
Subject: |
branch master updated: Reindent enum declarations |
Date: |
Sun, 29 Sep 2024 09:10:11 -0400 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new b6d02a15c4 Reindent enum declarations
b6d02a15c4 is described below
commit b6d02a15c4d14aeeeae98c71c67ce96af4d5a681
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Jun 29 16:54:28 2024 +0200
Reindent enum declarations
---
ChangeLog | 4 ++++
tp/Texinfo/XS/main/converter_types.h | 6 +++---
tp/Texinfo/XS/main/document_types.h | 8 ++++++--
tp/Texinfo/XS/main/option_types.h | 24 ++++++++++++------------
tp/Texinfo/XS/main/tree_types.h | 27 ++++++++++-----------------
5 files changed, 35 insertions(+), 34 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 94a1537fcf..0eb9a2807f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-06-29 Patrice Dumas <pertusus@free.fr>
+
+ Reindent enum declarations
+
2024-06-29 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/main/output_unit.c (units_directions),
diff --git a/tp/Texinfo/XS/main/converter_types.h
b/tp/Texinfo/XS/main/converter_types.h
index 2fe182aa74..de889205fd 100644
--- a/tp/Texinfo/XS/main/converter_types.h
+++ b/tp/Texinfo/XS/main/converter_types.h
@@ -32,9 +32,9 @@ struct TEXT_OPTIONS;
/* for string information passing to/from perl */
enum sv_string_type {
- svt_byte,
- svt_dir,
- svt_char,
+ svt_byte,
+ svt_dir,
+ svt_char,
};
enum output_units_descriptor_type {
diff --git a/tp/Texinfo/XS/main/document_types.h
b/tp/Texinfo/XS/main/document_types.h
index 317b038811..89982490f6 100644
--- a/tp/Texinfo/XS/main/document_types.h
+++ b/tp/Texinfo/XS/main/document_types.h
@@ -45,8 +45,12 @@ struct TEXT_OPTIONS;
#define F_DOCM_merged_indices 0x0400
#define F_DOCM_indices_sort_strings 0x0800
-enum error_type { MSG_error, MSG_warning,
- MSG_document_error, MSG_document_warning };
+enum error_type {
+ MSG_error,
+ MSG_warning,
+ MSG_document_error,
+ MSG_document_warning
+};
typedef struct ERROR_MESSAGE {
char *message;
diff --git a/tp/Texinfo/XS/main/option_types.h
b/tp/Texinfo/XS/main/option_types.h
index d4c68408a1..605dcd78d8 100644
--- a/tp/Texinfo/XS/main/option_types.h
+++ b/tp/Texinfo/XS/main/option_types.h
@@ -60,30 +60,30 @@ enum direction_unit_direction {
#define NON_SPECIAL_DIRECTIONS_NR (FIRSTINFILE_MAX_IDX +1)
enum button_specification_type {
- BST_direction,
- BST_function,
- BST_string,
- BST_direction_info,
+ BST_direction,
+ BST_function,
+ BST_string,
+ BST_direction_info,
};
enum button_information_type {
- BIT_string,
- BIT_function,
- BIT_selected_direction_information_type,
- BIT_href_direction_information_type,
+ BIT_string,
+ BIT_function,
+ BIT_selected_direction_information_type,
+ BIT_href_direction_information_type,
};
/* enum value corresponding to a default button formatting function
used later on to select a C function to replace the default function */
/* longest strings first to avoid ambiguity */
enum button_function_type {
- BFT_type_none,
+ BFT_type_none,
/* _default_panel_button_dynamic_direction_section_footer */
- BFT_type_panel_section_footer,
+ BFT_type_panel_section_footer,
/* _default_panel_button_dynamic_direction_node_footer */
- BFT_type_panel_node_footer,
+ BFT_type_panel_node_footer,
/* _default_panel_button_dynamic_direction */
- BFT_type_panel_directions,
+ BFT_type_panel_directions,
};
typedef struct BUTTON_FUNCTION {
diff --git a/tp/Texinfo/XS/main/tree_types.h b/tp/Texinfo/XS/main/tree_types.h
index fbb1f5dc33..6aede0f18d 100644
--- a/tp/Texinfo/XS/main/tree_types.h
+++ b/tp/Texinfo/XS/main/tree_types.h
@@ -148,13 +148,6 @@ enum output_unit_type {
ai_key(associated_index_entry) \
-/*
- ai_key() \
- ai_key() \
- ai_key() \
- ai_key(sortas) \
-*/
-
extern const char *ai_key_names[];
enum ai_key_name {
@@ -341,12 +334,12 @@ typedef struct CONTAINER {
/* indices in ELEMENT elt_info */
enum elt_info_type {
- eit_spaces_after_cmd_before_arg, /* types with braces flag */
- eit_spaces_after_argument,
- eit_comment_at_end, /* block_line_arg line_arg */
- eit_spaces_before_argument = 0, /* diverse types. Only context_brace_command
+ eit_spaces_after_cmd_before_arg, /* types with braces flag */
+ eit_spaces_after_argument,
+ eit_comment_at_end, /* block_line_arg line_arg */
+ eit_spaces_before_argument = 0, /* diverse types. Only
context_brace_command
also with braces */
- eit_brace_content_spaces_before_argument = 1, /* not 0, also brace commands
*/
+ eit_brace_content_spaces_before_argument = 1, /* not 0, also brace commands
*/
};
/* indices in ELEMENT string_info */
@@ -457,11 +450,11 @@ typedef struct {
} FLOAT_RECORD_LIST;
enum tree_added_elements_status {
- tree_added_status_none,
- tree_added_status_elements_added,
- tree_added_status_new_tree,
- tree_added_status_reused_tree,
- tree_added_status_no_tree,
+ tree_added_status_none,
+ tree_added_status_elements_added,
+ tree_added_status_new_tree,
+ tree_added_status_reused_tree,
+ tree_added_status_no_tree,
};
/* not used in parser */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Reindent enum declarations,
Patrice Dumas <=