aboutsummaryrefslogtreecommitdiff
path: root/include/ast.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-07-14 10:04:44 +0200
committerCharles <sircharlesaze@gmail.com>2020-07-14 10:05:57 +0200
commit29e1af2b65d097e533189db4e7d5e20534c17b35 (patch)
treec3f3033d18cab22e6715e2e57817d72028ae4627 /include/ast.h
parent3ea9f3e7e9b40c8e0b17ab394576c82f7b92c0b4 (diff)
downloadminishell-29e1af2b65d097e533189db4e7d5e20534c17b35.tar.gz
minishell-29e1af2b65d097e533189db4e7d5e20534c17b35.tar.bz2
minishell-29e1af2b65d097e533189db4e7d5e20534c17b35.zip
Refactoring error handling during parsing
Diffstat (limited to 'include/ast.h')
-rw-r--r--include/ast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ast.h b/include/ast.h
index 597c444..a767444 100644
--- a/include/ast.h
+++ b/include/ast.h
@@ -6,7 +6,7 @@
/* By: charles <charles@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/01 17:05:38 by charles #+# #+# */
-/* Updated: 2020/06/19 13:29:27 by charles ### ########.fr */
+/* Updated: 2020/07/14 09:57:43 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -77,7 +77,7 @@ typedef struct s_ast
typedef struct s_ret
{
- t_token *unexpected;
+ bool syntax_error;
t_ast *ast;
t_ftlst *rest;
} t_ret;