diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-05 15:38:51 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-05 15:38:51 +0200 |
commit | 219803c3746620780f49a09d0966c1dbbba5ad50 (patch) | |
tree | 8aa05c8d4df52b1aabfb26ab3f67fad7b4eb8be6 /src | |
parent | Good relining (diff) | |
download | 42-minishell-219803c3746620780f49a09d0966c1dbbba5ad50.tar.gz 42-minishell-219803c3746620780f49a09d0966c1dbbba5ad50.tar.bz2 42-minishell-219803c3746620780f49a09d0966c1dbbba5ad50.tar.xz 42-minishell-219803c3746620780f49a09d0966c1dbbba5ad50.tar.zst 42-minishell-219803c3746620780f49a09d0966c1dbbba5ad50.zip |
TODO
Diffstat (limited to 'src')
-rw-r--r-- | src/d_define.h | 30 | ||||
-rw-r--r-- | src/d_enum.h | 37 | ||||
-rw-r--r-- | src/m_loop_next.h | 7 |
3 files changed, 37 insertions, 37 deletions
diff --git a/src/d_define.h b/src/d_define.h index ce0ccc9..ae3d92a 100644 --- a/src/d_define.h +++ b/src/d_define.h @@ -107,34 +107,4 @@ #define FT_SQB_LT "-lt" #define FT_SQB_LE "-le" -enum -{ - FT_ID_SQB_B, - FT_ID_SQB_C, - FT_ID_SQB_D, - FT_ID_SQB_E, - FT_ID_SQB_F, - FT_ID_SQB_H, - FT_ID_SQB_N, - FT_ID_SQB_P, - FT_ID_SQB_R, - FT_ID_SQB_S, - FT_ID_SQB_W, - FT_ID_SQB_X, - FT_ID_SQB_Z, - FT_ID_SQB_L_MAJ, - FT_ID_SQB_S_MAJ, - FT_ID_SQB_NT, - FT_ID_SQB_OT, - FT_ID_SQB_EQUA, - FT_ID_SQB_DIFF, - FT_ID_SQB_EQ, - FT_ID_SQB_NE, - FT_ID_SQB_GT, - FT_ID_SQB_GE, - FT_ID_SQB_LT, - FT_ID_SQB_LE, - FT_ID_SQB_COUNT -}; - #endif diff --git a/src/d_enum.h b/src/d_enum.h index c046118..6bd82df 100644 --- a/src/d_enum.h +++ b/src/d_enum.h @@ -34,6 +34,13 @@ enum enum { + FT_NO_MODE, + FT_SQ_MODE, + FT_DQ_MODE +}; + +enum +{ FT_ID_ECHO, FT_ID_CD, FT_ID_PWD, @@ -46,4 +53,34 @@ enum FT_BUILTINS_COUNT }; +enum +{ + FT_ID_SQB_B, + FT_ID_SQB_C, + FT_ID_SQB_D, + FT_ID_SQB_E, + FT_ID_SQB_F, + FT_ID_SQB_H, + FT_ID_SQB_N, + FT_ID_SQB_P, + FT_ID_SQB_R, + FT_ID_SQB_S, + FT_ID_SQB_W, + FT_ID_SQB_X, + FT_ID_SQB_Z, + FT_ID_SQB_L_MAJ, + FT_ID_SQB_S_MAJ, + FT_ID_SQB_NT, + FT_ID_SQB_OT, + FT_ID_SQB_EQUA, + FT_ID_SQB_DIFF, + FT_ID_SQB_EQ, + FT_ID_SQB_NE, + FT_ID_SQB_GT, + FT_ID_SQB_GE, + FT_ID_SQB_LT, + FT_ID_SQB_LE, + FT_ID_SQB_COUNT +}; + #endif diff --git a/src/m_loop_next.h b/src/m_loop_next.h index 1c80e2a..b4ca62c 100644 --- a/src/m_loop_next.h +++ b/src/m_loop_next.h @@ -17,13 +17,6 @@ #include "s_struct.h" -enum -{ - M_NO_MODE, - M_SQ_MODE, - M_DQ_MODE -}; - char *m_check_multi_backslash(int32_t fd, char line[], t_msh *msh); char *m_check_multi_pipe(int32_t fd, char line[], t_msh *msh); char *m_check_multi_and(int32_t fd, char line[], t_msh *msh); |