This commit is contained in:
Maieul BOYER 2024-05-01 17:26:08 +02:00
parent 39c1c5026a
commit 509b551ce4
No known key found for this signature in database
17 changed files with 37 additions and 1891 deletions

View file

@ -28,7 +28,7 @@ typedef struct s_node
struct s_node *childs;
} t_node;
t_node build_node(t_parse_node curr, t_const_str input);
t_node build_node(TSNode curr, t_const_str input);
t_str node_getstr(t_node *node);
void free_node(t_node t);

View file

@ -30,10 +30,10 @@
# define PATH_FILES "/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
typedef struct s_myparser
typedef struct s_parser
{
t_parser *parser;
} t_myparser;
TSParser *parser;
} t_parser;
typedef struct s_utils
{
@ -42,7 +42,7 @@ typedef struct s_utils
t_str *strs_input;
t_str *path;
t_str *envp;
t_myparser parser;
t_parser parser;
t_node current_node;
} t_utils;