aboutsummaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-07-15 18:33:37 +0200
committerCharles <sircharlesaze@gmail.com>2020-07-15 18:33:37 +0200
commitbcc627a31a6652550be179d1602aae9ccd8db596 (patch)
treefe574ea5f0c693e2898e1f517a3b98e0d730fe4c /src/parse
parent9c9e5ac17efca1cc22fd8cf69fb75a1e4701efe7 (diff)
downloadminishell-bcc627a31a6652550be179d1602aae9ccd8db596.tar.gz
minishell-bcc627a31a6652550be179d1602aae9ccd8db596.tar.bz2
minishell-bcc627a31a6652550be179d1602aae9ccd8db596.zip
Added cmd local/exported environment variable (WIP, still a few edge cases)
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/parse_error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parse/parse_error.c b/src/parse/parse_error.c
index 1116a88..6df86e2 100644
--- a/src/parse/parse_error.c
+++ b/src/parse/parse_error.c
@@ -6,7 +6,7 @@
/* By: nahaddac <nahaddac@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/06/18 15:09:48 by nahaddac #+# #+# */
-/* Updated: 2020/07/14 11:49:48 by nahaddac ### ########.fr */
+/* Updated: 2020/07/15 18:31:51 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -51,10 +51,10 @@ t_token *error_syntax_simple(t_ftlst *in)
{
t_token *tk;
size_t i;
- t_ftlst *first;
+ /* t_ftlst *first; */
tk = in->data;
- first = in;
+ /* first = in; */
if(tk->tag & TAG_IS_SEP || (tk->tag & TAG_IS_REDIR))
{
if (out_error_first(tk))