[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Add missing file
From: |
Patrice Dumas |
Subject: |
branch master updated: Add missing file |
Date: |
Mon, 13 Nov 2023 17:39:51 -0500 |
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 9373f98e97 Add missing file
9373f98e97 is described below
commit 9373f98e9787bd9e278bca0a017a4e3ad020cc34
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Nov 13 23:39:35 2023 +0100
Add missing file
---
tp/Texinfo/XS/main/document_types.h | 77 +++++++++++++++++++++++++++++++++++++
1 file changed, 77 insertions(+)
diff --git a/tp/Texinfo/XS/main/document_types.h
b/tp/Texinfo/XS/main/document_types.h
new file mode 100644
index 0000000000..350c634298
--- /dev/null
+++ b/tp/Texinfo/XS/main/document_types.h
@@ -0,0 +1,77 @@
+/* document_types.h - parsed Texinfo document types */
+#ifndef DOCUMENT_TYPES_H
+#define DOCUMENT_TYPES_H
+
+/* Copyright 2010-2023 Free Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+#include <stddef.h>
+
+#include "tree_types.h"
+#include "options_types.h"
+#include "global_commands_types.h"
+
+enum error_type { MSG_error, MSG_warning,
+ MSG_document_error, MSG_document_warning };
+
+typedef struct {
+ char *message;
+ char *error_line;
+ enum error_type type;
+ int continuation;
+ SOURCE_INFO source_info;
+} ERROR_MESSAGE;
+
+typedef struct {
+ ERROR_MESSAGE *list;
+ size_t number;
+ size_t space;
+} ERROR_MESSAGE_LIST;
+
+typedef struct GLOBAL_INFO {
+ char *input_file_name;
+ char *input_directory;
+ char *input_encoding_name;
+ int sections_level_modifier;
+ ELEMENT_LIST dircategory_direntry; /* an array of elements */
+ /* Ignored characters for index sort key */
+ IGNORED_CHARS ignored_chars;
+} GLOBAL_INFO;
+
+typedef struct DOCUMENT {
+ int descriptor;
+ ELEMENT *tree;
+ INDEX **index_names;
+ FLOAT_RECORD_LIST *floats;
+ LISTOFFLOATS_TYPE_LIST *listoffloats;
+ ELEMENT_LIST *internal_references;
+ LABEL_LIST *labels_list;
+ LABEL_LIST *identifiers_target;
+ GLOBAL_INFO *global_info;
+ GLOBAL_COMMANDS *global_commands;
+ STRING_LIST *small_strings;
+ ELEMENT_LIST *nodes_list;
+ ELEMENT_LIST *sections_list;
+ ERROR_MESSAGE_LIST *error_messages;
+ OPTIONS *options; /* for options used in structuring */
+} DOCUMENT;
+
+/* not in document, but used in parser */
+typedef struct expanded_format {
+ char *format;
+ int expandedp;
+} EXPANDED_FORMAT;
+
+#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Add missing file,
Patrice Dumas <=
- Prev by Date:
branch master updated: * tp/Texinfo/XS/convert/call_html_perl_function.c (call_file_id_setting_label_target_name) (call_file_id_setting_node_file_name) (call_file_id_setting_sectioning_command_target_name), tp/Texinfo/XS/convert/convert_html.c (find_element_target) (prepare_special_units, add_element_target_to_list) (add_element_target, add_special_target, normalized_label_id_file) (new_sectioning_command_target, set_root_commands_targets_node_files) (prepare_index_entries_targets, prepare_footnotes_targets) (ht [...]
- Next by Date:
branch master updated: * tp/Texinfo/XS/main/tree.c (replace_element_in_list): add.
- Previous by thread:
branch master updated: * tp/Texinfo/XS/convert/call_html_perl_function.c (call_file_id_setting_label_target_name) (call_file_id_setting_node_file_name) (call_file_id_setting_sectioning_command_target_name), tp/Texinfo/XS/convert/convert_html.c (find_element_target) (prepare_special_units, add_element_target_to_list) (add_element_target, add_special_target, normalized_label_id_file) (new_sectioning_command_target, set_root_commands_targets_node_files) (prepare_index_entries_targets, prepare_footnotes_targets) (ht [...]
- Next by thread:
branch master updated: * tp/Texinfo/XS/main/tree.c (replace_element_in_list): add.
- Index(es):