summaryrefslogtreecommitdiff
path: root/parser.h
diff options
context:
space:
mode:
authorbiouman <biouman>2001-04-28 00:53:35 +0000
committerbiouman <biouman>2001-04-28 00:53:35 +0000
commit892950d2c402691cc12e58b556944c19b4013601 (patch)
treef2d69aaba81c65185e3c6e4078cc51c9fc6ee913 /parser.h
parentf6d829b8eca64bd77f40e0c294d77f52f7338a93 (diff)
*** empty log message ***
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h25
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