aboutsummaryrefslogtreecommitdiff
path: root/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tree.c b/tree.c
index eff6285..0301ec3 100644
--- a/tree.c
+++ b/tree.c
@@ -3,10 +3,10 @@
#include <string.h>
#include <assert.h>
+#include "node.h"
#include "tree.h"
#include "y.tab.h"
-
-extern void yyerror(char*);
+#include "pc.h"
/* parse tree funcs */
ptree* mktree(type, l, r)
@@ -47,7 +47,7 @@ float n;
return p;
}
-ptree * mkop(type, sub, l, r)
+ptree* mkop(type, sub, l, r)
int type, sub;
ptree *l, *r;
{