diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-09-09 18:24:53 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-09-09 18:24:53 +0200 |
| commit | c8c72449733f064f86b8a7c0b1284b6196fff0e3 (patch) | |
| tree | e347b900dd39c7518c37564058494ab8a0a59e23 /include | |
| parent | 4238485a4e26a9d15541708bfc38bfede9bbe7d2 (diff) | |
| download | minishell-c8c72449733f064f86b8a7c0b1284b6196fff0e3.tar.gz minishell-c8c72449733f064f86b8a7c0b1284b6196fff0e3.tar.bz2 minishell-c8c72449733f064f86b8a7c0b1284b6196fff0e3.zip | |
Re Added cmd variable
Diffstat (limited to 'include')
| -rw-r--r-- | include/eval.h | 8 | ||||
| -rw-r--r-- | include/lexer.h | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/include/eval.h b/include/eval.h index 9b5d00a..a23b249 100644 --- a/include/eval.h +++ b/include/eval.h @@ -6,7 +6,7 @@ /* By: charles <charles@student.42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/01 17:05:30 by charles #+# #+# */ -/* Updated: 2020/08/28 16:56:37 by charles ### ########.fr */ +/* Updated: 2020/09/09 17:27:21 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -74,4 +74,10 @@ bool exec_is_path(char *exec_name); bool exec_is_valid(char *exec_path); char *exec_search_path(t_path path, char *path_var, char *exec_name); +/* +** variable.c +*/ + +bool variable_extract(t_tok_lst **argv, t_env env, t_env env_local); + #endif diff --git a/include/lexer.h b/include/lexer.h index ba248a8..8d7a81f 100644 --- a/include/lexer.h +++ b/include/lexer.h @@ -6,7 +6,7 @@ /* By: nahaddac <nahaddac@student.42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/06/19 10:51:26 by nahaddac #+# #+# */ -/* Updated: 2020/08/27 20:55:27 by charles ### ########.fr */ +/* Updated: 2020/09/09 17:50:01 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -61,6 +61,7 @@ t_tok_lst *tok_lst_push_front(t_tok_lst **tokens, t_tok_lst *pushed); void *tok_lst_destroy(t_tok_lst **tokens, void (*del)(void*)); t_tok_lst *tok_lst_last(t_tok_lst *tokens); t_tok_lst *tok_lst_uncons(t_tok_lst **tokens); +t_tok_lst *tok_lst_take_sticked(t_tok_lst **tokens); /* ** lexer.c |
