Updated to remove more usless stuff

This commit is contained in:
Maix0 2024-08-22 16:41:48 +02:00
parent 5b7eb9784b
commit db0903c3a8
31 changed files with 480 additions and 1058 deletions

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:31:53 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -17,27 +17,51 @@
static inline t_char_range *sym__comment_word_character_set_1(void)
{
#ifdef static
#undef static
#define static__REAPPLY
#endif
static t_char_range val[10] = {{0, 0x08}, {0x0b, 0x1f}, \
{'!', '!'}, {'#', '#'}, {'%', '%'}, {'*', ':'}, {'=', \
'='}, {'?', '_'}, {'a', '{'}, {'}', 0x10ffff}};
#ifdef static__REAPPLY
#define static
#undef static__REAPPLY
#endif
return (val);
}
static inline t_char_range *sym_word_character_set_1(void)
{
#ifdef static
#undef static
#define static__REAPPLY
#endif
static t_char_range val[9] = {{0, 0x08}, {0x0b, 0x1f}, \
{'!', '!'}, {'%', '%'}, {'*', ':'}, {'=', '='}, {'?', \
'_'}, {'a', '{'}, {'}', 0x10ffff}};
#ifdef static__REAPPLY
#define static
#undef static__REAPPLY
#endif
return (val);
}
static inline t_char_range *aux_sym__word_no_brace_token1_character_set_2(void)
{
#ifdef static
#undef static
#define static__REAPPLY
#endif
static t_char_range val[10] = {{0, 0x08}, {0x0b, 0x1f}, \
{'!', '!'}, {'#', '#'}, {'%', '%'}, {'*', ':'}, {'=', \
'='}, {'?', '_'}, {'a', 'z'}, {'~', 0x10ffff}};
#ifdef static__REAPPLY
#define static
#undef static__REAPPLY
#endif
return (val);
}

View file

@ -6,13 +6,17 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:24:55 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "../types/type_alias_sequences.h"
#include "../alias_sequences/alias_sequences.h"
#ifdef static
# undef static
#endif
t_alias_sequences_array *create_alias_sequences(void)
{
static t_alias_sequences_array table = {};

View file

@ -6,13 +6,17 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:25:01 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "../types/type_external_scanner_states.h"
#include "../external_scanner_states/external_scanner_states.h"
#ifdef static
# undef static
#endif
t_external_scanner_states_array *create_external_scanner_states(void)
{
static t_external_scanner_states_array table = {};

View file

@ -6,13 +6,17 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:25:05 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "../types/type_external_scanner_symbol_map.h"
#include "../external_scanner_symbol_map/external_scanner_symbol_map.h"
#ifdef static
# undef static
#endif
t_external_scanner_symbol_map_array *create_external_scanner_symbol_map(void)
{
static t_external_scanner_symbol_map_array table = {};

View file

@ -6,13 +6,18 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:25:13 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "../types/type_field_map_entries.h"
#include "../field_map_entries/field_map_entries.h"
#ifdef static
# undef static
#endif
t_field_map_entries_array *create_field_map_entries(void)
{
static t_field_map_entries_array table = {};

View file

@ -6,13 +6,18 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:25:17 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "../types/type_field_map_slices.h"
#include "../field_map_slices/field_map_slices.h"
#ifdef static
# undef static
#endif
t_field_map_slices_array *create_field_map_slices(void)
{
static t_field_map_slices_array table = {};

View file

@ -6,13 +6,18 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:25:20 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "../types/type_field_names.h"
#include "../field_names/field_names.h"
#ifdef static
# undef static
#endif
t_field_names_array *create_field_names(void)
{
static t_field_names_array table = {};

View file

@ -6,13 +6,18 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:25:38 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "../types/type_lex_modes.h"
#include "../lex_modes/lex_modes.h"
#ifdef static
# undef static
#endif
t_lex_modes_array *create_lex_modes(void)
{
static t_lex_modes_array table = {};

View file

@ -6,13 +6,18 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:25:38 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "../types/type_non_terminal_alias_map.h"
#include "../non_terminal_alias_map/non_terminal_alias_map.h"
#ifdef static
# undef static
#endif
t_non_terminal_alias_map_array *create_non_terminal_alias_map(void)
{
static t_non_terminal_alias_map_array table = {};

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:25:38 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -14,6 +14,11 @@
#include "../types/type_parse_actions_entries.h"
#include "../parse_actions_entries/parse_actions_entries.h"
#ifdef static
# undef static
#endif
t_parse_actions_entries_array *create_parse_actions_entries(void)
{
static t_parse_actions_entries_array table = {};

View file

@ -6,13 +6,18 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:25:38 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "../types/type_parse_table.h"
#include "../parse_table/parse_table.h"
#ifdef static
# undef static
#endif
t_parse_table_array *create_parse_table(void)
{
static t_parse_table_array table = {};

View file

@ -6,13 +6,18 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:25:38 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "../types/type_primary_state_ids.h"
#include "../primary_state_ids/primary_state_ids.h"
#ifdef static
# undef static
#endif
t_primary_state_ids_array *create_primary_state_ids(void)
{
static t_primary_state_ids_array table = {};

View file

@ -6,13 +6,18 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:25:38 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "../types/type_symbols_metadata.h"
#include "../symbols_metadata/symbols_metadata.h"
#ifdef static
# undef static
#endif
t_symbols_metadata_array *create_symbols_metadata(void)
{
static t_symbols_metadata_array table = {};

View file

@ -6,13 +6,18 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:25:38 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "../types/type_symbols_names.h"
#include "../symbols_names/symbols_names.h"
#ifdef static
# undef static
#endif
t_symbols_names_array *create_symbols_names(void)
{
static t_symbols_names_array table = {};

View file

@ -6,13 +6,18 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* Updated: 2024/08/22 16:25:37 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "../types/type_unique_symbols_map.h"
#include "../unique_symbols_map/unique_symbols_map.h"
#ifdef static
# undef static
#endif
t_unique_symbols_map_array *create_unique_symbols_map(void)
{
static t_unique_symbols_map_array table = {};