diff options
author | biouman <biouman> | 2001-04-28 00:53:35 +0000 |
---|---|---|
committer | biouman <biouman> | 2001-04-28 00:53:35 +0000 |
commit | 892950d2c402691cc12e58b556944c19b4013601 (patch) | |
tree | f2d69aaba81c65185e3c6e4078cc51c9fc6ee913 /parser.h | |
parent | f6d829b8eca64bd77f40e0c294d77f52f7338a93 (diff) |
*** empty log message ***
Diffstat (limited to 'parser.h')
-rw-r--r-- | parser.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/parser.h b/parser.h new file mode 100644 index 0000000..1e7c0fd --- /dev/null +++ b/parser.h @@ -0,0 +1,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 |