diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-28 18:42:06 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-28 18:42:06 +0200 |
commit | c0c5582d5bbadca30b2fbae8d12ceb5ae18ffd4d (patch) | |
tree | 73afdd80509a97a646960f992920d5089202af66 /src/ft_s_struct.h | |
parent | Trying vars (diff) | |
download | 42-minishell-c0c5582d5bbadca30b2fbae8d12ceb5ae18ffd4d.tar.gz 42-minishell-c0c5582d5bbadca30b2fbae8d12ceb5ae18ffd4d.tar.bz2 42-minishell-c0c5582d5bbadca30b2fbae8d12ceb5ae18ffd4d.tar.xz 42-minishell-c0c5582d5bbadca30b2fbae8d12ceb5ae18ffd4d.tar.zst 42-minishell-c0c5582d5bbadca30b2fbae8d12ceb5ae18ffd4d.zip |
The variable list works
Diffstat (limited to '')
-rw-r--r-- | src/ft_s_struct.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 |