compiling
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
#ifndef TOKENIZER_H
|
||||
# define TOKENIZER_H
|
||||
|
||||
# include "../minishell.h"
|
||||
|
||||
typedef enum e_token
|
||||
{
|
||||
UNSET,
|
||||
|
||||
Reference in New Issue
Block a user