aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/eval.h8
-rw-r--r--include/lexer.h3
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