diff options
author | Pixel <> | 2001-03-29 23:40:57 +0000 |
---|---|---|
committer | Pixel <> | 2001-03-29 23:40:57 +0000 |
commit | 80fdb0714b75cb240d8b8068d718b915f1904110 (patch) | |
tree | 113acad9045d0ad77ba4660ac0540dfc3e5ced8c /include/parser.h |
First.start
Diffstat (limited to 'include/parser.h')
-rw-r--r-- | include/parser.h | 24 |
1 files changed, 24 insertions, 0 deletions
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 |