From 219803c3746620780f49a09d0966c1dbbba5ad50 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 5 Sep 2020 15:38:51 +0200 Subject: TODO --- src/d_define.h | 30 ------------------------------ src/d_enum.h | 37 +++++++++++++++++++++++++++++++++++++ src/m_loop_next.h | 7 ------- 3 files changed, 37 insertions(+), 37 deletions(-) (limited to 'src') 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 @@ -32,6 +32,13 @@ enum FT_READ_END }; +enum +{ + FT_NO_MODE, + FT_SQ_MODE, + FT_DQ_MODE +}; + enum { FT_ID_ECHO, @@ -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); -- cgit v1.2.3