summaryrefslogtreecommitdiffstats
path: root/src/s_struct.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-14 15:24:12 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-14 15:24:12 +0200
commit294adc19078fa8d196ee1d787ec24619f9976178 (patch)
tree9446807d7ee909046f1cb9f2bd1c7711bbe0b857 /src/s_struct.h
parentRemoved bloat (diff)
download42-minishell-294adc19078fa8d196ee1d787ec24619f9976178.tar.gz
42-minishell-294adc19078fa8d196ee1d787ec24619f9976178.tar.bz2
42-minishell-294adc19078fa8d196ee1d787ec24619f9976178.tar.xz
42-minishell-294adc19078fa8d196ee1d787ec24619f9976178.tar.zst
42-minishell-294adc19078fa8d196ee1d787ec24619f9976178.zip
I must split
Diffstat (limited to 'src/s_struct.h')
-rw-r--r--src/s_struct.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/s_struct.h b/src/s_struct.h
index e03bbf2..f5d2a23 100644
--- a/src/s_struct.h
+++ b/src/s_struct.h
@@ -19,7 +19,7 @@
/*
** redir(int8_t) index
-** --------------------
+** -------------------
** -1: <
** 1: >
** 2: >>
@@ -49,8 +49,17 @@ struct s_lpipes
struct s_lpipes *next;
};
+/*
+** nextif(uint8_t) index
+** ---------------------
+** 0: ;
+** 1: &&
+** 2: ||
+*/
+
typedef struct s_line
{
+ uint8_t nextif;
struct s_com *com;
struct s_lpipes *pipes;
struct s_line *next;