aboutsummaryrefslogtreecommitdiff
path: root/include/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ast.h')
-rw-r--r--include/ast.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/ast.h b/include/ast.h
index bf19083..cd2f9c9 100644
--- a/include/ast.h
+++ b/include/ast.h
@@ -6,7 +6,7 @@
/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/27 11:48:27 by dkaiser #+# #+# */
-/* Updated: 2024/07/10 12:31:39 by dkaiser ### ########.fr */
+/* Updated: 2024/08/11 12:20:56 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
@@ -20,12 +20,6 @@ enum e_node_type
STRING_NODE
};
-typedef struct s_assign
-{
- char *var;
- char *value;
-} t_assign;
-
typedef struct s_pipe
{
struct s_node *left;
@@ -49,7 +43,6 @@ typedef struct s_redirection
typedef struct s_cmd
{
char **args;
- struct s_assign **assigns;
struct s_redirection redirs[2];
} t_cmd;
@@ -68,8 +61,7 @@ typedef struct s_node
t_node *new_node(int type);
t_node *new_pipe_node(t_node *left, t_node *right);
-t_node *new_cmd_node(char **args, t_assign **assigns,
- t_redirection redirs[2]);
+t_node *new_cmd_node(char **args, t_redirection redirs[2]);
t_node *new_string_node(char *string);
void free_node(t_node *node);