minishell/parser/static/create/create_parse_table.c
2024-09-03 16:36:25 +02:00

31 lines
1.2 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* create_parse_table.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* 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 */
/* */
/* ************************************************************************** */
#include "../types/type_parse_table.h"
#include "../parse_table/parse_table.h"
void parse_table_0(t_parse_table_array *arr);
t_parse_table_array *create_parse_table(void)
{
static t_parse_table_array table = {};
static bool init = false;
if (!init)
{
parse_table_0(&table);
init = true;
}
return (&table);
}
/* create_parse_table.c */