From a2ebd4ad078d7056a4c28ea697cfd3ebbf09d0f6 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 19 Jun 2020 12:19:50 +0200 Subject: Added parenthesis handling in eval (not tested) --- include/ast.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/ast.h') diff --git a/include/ast.h b/include/ast.h index 53221fa..18f1d93 100644 --- a/include/ast.h +++ b/include/ast.h @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/01 17:05:38 by charles #+# #+# */ -/* Updated: 2020/06/18 13:35:38 by charles ### ########.fr */ +/* Updated: 2020/06/19 10:40:34 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -48,9 +48,9 @@ typedef struct s_op enum e_ast_tag { - AST_CMD, - AST_OP, - AST_OP_PARENT, + AST_CMD = 1 << 0, + AST_OP = 1 << 1, + AST_PARENT = 1 << 2, }; /* -- cgit