compiling

This commit is contained in:
Loic Deridder
2025-02-12 13:32:12 +01:00
parent d03d1cf9ef
commit 256724e601
32 changed files with 74 additions and 67 deletions

View File

@@ -13,8 +13,8 @@
#ifndef AST_H
# define AST_H
/*# include "../../includes/env.h"*/
# include "../minishell.h"
typedef struct s_node t_node;
typedef struct s_msh t_msh;
typedef enum e_state
{

View File

@@ -13,7 +13,10 @@
#ifndef DRAWIO_H
# define DRAWIO_H
# include "../minishell.h"
# include "../../lib/libft/libft.h"
typedef struct s_ast_n t_ast_n;
typedef struct s_node t_node;
typedef struct s_dio_node
{

View File

@@ -13,7 +13,9 @@
#ifndef HEREDOC_H
# define HEREDOC_H
# include "../minishell.h"
typedef struct s_node t_node;
typedef struct s_msh t_msh;
void read_hereinput(char *limiter, t_node *lst, t_msh *msh);
void parse_heredoc(char *limiter, t_node *lst, t_msh *msh);

View File

@@ -13,7 +13,9 @@
#ifndef PARSING_H
# define PARSING_H
# include "../minishell.h"
typedef struct s_node t_node;
typedef struct s_ast_n t_ast_n;
typedef struct s_msh t_msh;
t_ast_n *parser(char *input, t_msh *msh);

View File

@@ -13,8 +13,6 @@
#ifndef TOKENIZER_H
# define TOKENIZER_H
# include "../minishell.h"
typedef enum e_token
{
UNSET,