-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtoken.h
More file actions
30 lines (27 loc) · 1.2 KB
/
token.h
File metadata and controls
30 lines (27 loc) · 1.2 KB
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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* token.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: seungbki <seungbki@student.42seoul.kr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/03/28 06:06:40 by seungbki #+# #+# */
/* Updated: 2022/03/28 06:07:25 by seungbki ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef TOKEN_H
# define TOKEN_H
typedef struct s_token
{
unsigned int id;
unsigned int is_space : 1;
unsigned int is_hash : 1;
unsigned int is_plus : 1;
unsigned int is_minus : 1;
unsigned int is_precision : 1;
unsigned int is_zero : 1;
unsigned int width;
unsigned int precision;
const char *val;
} t_token;
#endif