summaryrefslogtreecommitdiff
path: root/include/parser.h
blob: 1e7c0fd59f158e5bc0191d11c7f53c4d165bf2fa (plain)
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
#ifndef __PARSER_H__
#define __PARSER_H__

#define PILEOP_MAX 50
#define PILECALL_MAX 50

enum {
	OP_NEST,
	OP_PLUS,
	OP_MOINS,
	OP_EXP,
	OP_PLUS_UNARY,
	OP_MOINS_UNARY,
	OP_DIV,
	OP_MOD,
	OP_MUL,
	OP_ASSIGN,
	OP_LPAREN,
	OP_FUNC_CALL
};


void parse_line(char *);

#endif