diff options
Diffstat (limited to '')
-rw-r--r-- | src/ft_u_vars.c | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/ft_u_vars.c b/src/ft_u_vars.c index 99f35bb..cb020e3 100644 --- a/src/ft_u_vars.c +++ b/src/ft_u_vars.c @@ -85,8 +85,8 @@ static char } static char - *ft_get_special(const char varname[], - t_msh *msh) + *ft_get_special_var(const char varname[], + t_msh *msh) { char *varval; @@ -113,6 +113,15 @@ static char return (NULL); } +static char + *ft_get_cstm_vr(const char varname[], + t_msh *msh) +{ + (void)varname; + (void)msh; + return (NULL); +} + /* ** char * ** ft_subst_var_value(const char varname[], const t_msh *msh); @@ -136,7 +145,11 @@ char char *rvarname; varval = NULL; - if ((varval = ft_get_special(varname, msh)) != NULL) + if ((varval = ft_get_special_var(varname, msh)) != NULL) + { + return (varval); + } + else if ((varval = ft_get_cstm_vr(varname, msh)) != NULL) { return (varval); } |