-
Notifications
You must be signed in to change notification settings - Fork 0
/
21sh.h
40 lines (36 loc) · 1.16 KB
/
21sh.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* 21sh.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lbopp <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/03/19 10:29:20 by lbopp #+# #+# */
/* Updated: 2017/03/21 15:02:37 by lbopp ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef LSH_H
# define LSH_H
# include "libft.h"
# include <stdio.h>
enum Operator
{
SEMICOLON = 0,
PIPE,
LESS,
DLESS,
GREAT,
DGREAT,
INPUT,
OUTPUT,
WORD,
BLANK
};
typedef struct s_token
{
int type;
char *content;
struct s_token *next;
} t_token;
char *g_line;
#endif