Renamed: parser/src to parser/static
This commit is contained in:
parent
c40eae3699
commit
d4af13cab3
4467 changed files with 4375 additions and 4375 deletions
29
shcat_c/parser/static/create/create_small_parse_table.c
Normal file
29
shcat_c/parser/static/create/create_small_parse_table.c
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* create_small_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_small_parse_table.h"
|
||||
#include "../small_parse_table/small_parse_table.h"
|
||||
|
||||
t_small_parse_table_array *create_small_parse_table(void)
|
||||
{
|
||||
static t_small_parse_table_array table = {};
|
||||
static bool init = false;
|
||||
|
||||
if (!init)
|
||||
{
|
||||
small_parse_table_0(&table);
|
||||
init = true;
|
||||
}
|
||||
return (&table);
|
||||
}
|
||||
|
||||
/* create_small_parse_table.c */
|
||||
Loading…
Add table
Add a link
Reference in a new issue