From c0c5582d5bbadca30b2fbae8d12ceb5ae18ffd4d Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 28 Apr 2020 18:42:06 +0200 Subject: The variable list works --- src/ft_s_struct.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ft_s_struct.h') diff --git a/src/ft_s_struct.h b/src/ft_s_struct.h index 5b99acb..b6804bf 100644 --- a/src/ft_s_struct.h +++ b/src/ft_s_struct.h @@ -26,12 +26,12 @@ ** 0: means no redirection */ -typedef struct s_vars +typedef struct s_lvars { char *name; char *val; - struct s_vars *next; -} t_vars; + struct s_lvars *next; +} t_lvars; typedef struct s_lcom { @@ -53,7 +53,7 @@ typedef struct s_msh char **bu_ref; uint8_t (*bu_ptr[FT_BUILTINS_COUNT])(char **, struct s_msh*); struct s_lcom *curr; - struct s_vars *vars; + struct s_lvars *vars; } t_msh; #endif -- cgit v1.2.3