"e_quotes_state" redefined in minishell_structs.h

This commit is contained in:
LuckyLaszlo
2021-11-26 21:31:17 +01:00
parent b9d7ebb3cb
commit 07e98c7cf8
6 changed files with 12 additions and 41 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/08 02:35:52 by lperrey #+# #+# */
/* Updated: 2021/11/25 16:33:56 by hulamy ### ########.fr */
/* Updated: 2021/11/26 21:28:55 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -17,7 +17,6 @@ struct s_all *g_all;
enum e_token_id
{
T_TOKEN = 0,
T_LESS = '<',
T_GREAT = '>',
T_PIPE = '|',
@@ -29,6 +28,12 @@ enum e_token_id
// T_DLESS == '<<'
// T_DGREAT == '>>'
enum e_quotes_state
{
IN_QUOTES = '\'',
IN_DQUOTES = '\"'
};
typedef struct s_token
{
char *content;