From 80fdb0714b75cb240d8b8068d718b915f1904110 Mon Sep 17 00:00:00 2001 From: Pixel <> Date: Thu, 29 Mar 2001 23:40:57 +0000 Subject: First. --- include/parser.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/parser.h (limited to 'include/parser.h') diff --git a/include/parser.h b/include/parser.h new file mode 100644 index 0000000..30d626c --- /dev/null +++ b/include/parser.h @@ -0,0 +1,24 @@ +#ifndef __PARSER_H__ +#define __PARSER_H__ + +#define PILEOP_MAX 50 +#define PILECALL_MAX 50 + +enum { + OP_NEST, + OP_PLUS, + OP_MOINS, + OP_PLUS_UNARY, + OP_MOINS_UNARY, + OP_DIV, + OP_MUL, + OP_LPAREN, + OP_FUNC_CALL, + OP_DECAL, + OP_DIRECT +}; + +void push_pile(char *); +void act_pile(int); + +#endif \ No newline at end of file -- cgit v1.2.3