Normed all create_type
This commit is contained in:
parent
f50fc68fb9
commit
d77d4d3063
17 changed files with 34 additions and 34 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:14:24 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
t_alias_sequences_array *create_alias_sequences(void)
|
t_alias_sequences_array *create_alias_sequences(void)
|
||||||
{
|
{
|
||||||
static t_alias_sequences_array table = {};
|
static t_alias_sequences_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:14:41 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
t_external_scanner_states_array *create_external_scanner_states(void)
|
t_external_scanner_states_array *create_external_scanner_states(void)
|
||||||
{
|
{
|
||||||
static t_external_scanner_states_array table = {};
|
static t_external_scanner_states_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:15:37 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
t_external_scanner_symbol_map_array *create_external_scanner_symbol_map(void)
|
t_external_scanner_symbol_map_array *create_external_scanner_symbol_map(void)
|
||||||
{
|
{
|
||||||
static t_external_scanner_symbol_map_array table = {};
|
static t_external_scanner_symbol_map_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:14:55 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
t_field_map_entries_array *create_field_map_entries(void)
|
t_field_map_entries_array *create_field_map_entries(void)
|
||||||
{
|
{
|
||||||
static t_field_map_entries_array table = {};
|
static t_field_map_entries_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:20:21 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
t_field_map_slices_array *create_field_map_slices(void)
|
t_field_map_slices_array *create_field_map_slices(void)
|
||||||
{
|
{
|
||||||
static t_field_map_slices_array table = {};
|
static t_field_map_slices_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:15:08 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
t_field_names_array *create_field_names(void)
|
t_field_names_array *create_field_names(void)
|
||||||
{
|
{
|
||||||
static t_field_names_array table = {};
|
static t_field_names_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:15:20 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
t_lex_keywords_array *create_lex_keywords(void)
|
t_lex_keywords_array *create_lex_keywords(void)
|
||||||
{
|
{
|
||||||
static t_lex_keywords_array table = {};
|
static t_lex_keywords_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:16:46 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
t_lex_modes_array *create_lex_modes(void)
|
t_lex_modes_array *create_lex_modes(void)
|
||||||
{
|
{
|
||||||
static t_lex_modes_array table = {};
|
static t_lex_modes_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:17:22 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
t_lex_normal_array *create_lex_normal(void)
|
t_lex_normal_array *create_lex_normal(void)
|
||||||
{
|
{
|
||||||
static t_lex_normal_array table = {};
|
static t_lex_normal_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:17:43 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
t_non_terminal_alias_map_array *create_non_terminal_alias_map(void)
|
t_non_terminal_alias_map_array *create_non_terminal_alias_map(void)
|
||||||
{
|
{
|
||||||
static t_non_terminal_alias_map_array table = {};
|
static t_non_terminal_alias_map_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:18:15 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
t_parse_actions_entries_array *create_parse_actions_entries(void)
|
t_parse_actions_entries_array *create_parse_actions_entries(void)
|
||||||
{
|
{
|
||||||
static t_parse_actions_entries_array table = {};
|
static t_parse_actions_entries_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:17:06 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
t_parse_table_array *create_parse_table(void)
|
t_parse_table_array *create_parse_table(void)
|
||||||
{
|
{
|
||||||
static t_parse_table_array table = {};
|
static t_parse_table_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:18:30 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
t_primary_state_ids_array *create_primary_state_ids(void)
|
t_primary_state_ids_array *create_primary_state_ids(void)
|
||||||
{
|
{
|
||||||
static t_primary_state_ids_array table = {};
|
static t_primary_state_ids_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:18:48 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
t_small_parse_table_array *create_small_parse_table(void)
|
t_small_parse_table_array *create_small_parse_table(void)
|
||||||
{
|
{
|
||||||
static t_small_parse_table_array table = {};
|
static t_small_parse_table_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:19:01 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
t_small_parse_table_map_array *create_small_parse_table_map(void)
|
t_small_parse_table_map_array *create_small_parse_table_map(void)
|
||||||
{
|
{
|
||||||
static t_small_parse_table_map_array table = {};
|
static t_small_parse_table_map_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:19:14 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
t_symbols_metadata_array *create_symbols_metadata(void)
|
t_symbols_metadata_array *create_symbols_metadata(void)
|
||||||
{
|
{
|
||||||
static t_symbols_metadata_array table = {};
|
static t_symbols_metadata_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
/* Updated: 2024/04/28 18:19:25 by rparodi ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
t_symbols_names_array *create_symbols_names(void)
|
t_symbols_names_array *create_symbols_names(void)
|
||||||
{
|
{
|
||||||
static t_symbols_names_array table = {};
|
static t_symbols_names_array table = {};
|
||||||
static bool init = false;
|
static bool init = false;
|
||||||
|
|
||||||
if (!init)
|
if (!init)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue