aboutsummaryrefslogtreecommitdiff
path: root/include/ast.h
diff options
context:
space:
mode:
authorDominik Kaiser2024-07-09 19:23:17 +0200
committerDominik Kaiser2024-07-09 19:23:17 +0200
commit8f386bcd29425b96017c1e9b2cd1bbd670939563 (patch)
treea8a3745009b91dcd38e5c64a2c726728ac8a9788 /include/ast.h
parent16ca09f57525cd9a4e7eb82ce70e4c1e0cb85a31 (diff)
downloadminishell-8f386bcd29425b96017c1e9b2cd1bbd670939563.tar.gz
minishell-8f386bcd29425b96017c1e9b2cd1bbd670939563.zip
Adding working parsing
TODO: Refactoring
Diffstat (limited to 'include/ast.h')
-rw-r--r--include/ast.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/ast.h b/include/ast.h
index 6479272..b0ed996 100644
--- a/include/ast.h
+++ b/include/ast.h
@@ -6,7 +6,7 @@
/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/27 11:48:27 by dkaiser #+# #+# */
-/* Updated: 2024/07/08 16:09:32 by dkaiser ### ########.fr */
+/* Updated: 2024/07/09 16:54:29 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
@@ -34,10 +34,10 @@ typedef struct s_pipe
enum e_redirection_type
{
- INPUT_FILE,
- INPUT_LIMITER,
- OUTPUT_OVERRIDE,
- OUTPUT_APPEND
+ INPUT_FILE = 1,
+ INPUT_LIMITER = 2,
+ OUTPUT_OVERRIDE = 4,
+ OUTPUT_APPEND = 8
};
typedef struct s_redirection