aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-07-14 13:17:32 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-07-14 13:17:32 -0400
commitba13151fc0fcaebccacbb53ec87721bf7aff0c9a (patch)
treedf67bfeb4cdbbb1d4e43aca6e41c570cce6969ad
parentbedb3a6cd7e22f4cde0969e8d2e1f2596efd8c8d (diff)
Fix includes and function definitions (extern)
-rw-r--r--pc.y9
1 files changed, 7 insertions, 2 deletions
diff --git a/pc.y b/pc.y
index 05d7a2e..69e448c 100644
--- a/pc.y
+++ b/pc.y
@@ -1,14 +1,19 @@
%{
+#include <stdlib.h>
+#include <stddef.h>
-#include "pc.h"
+#include "tree.h"
#include "y.tab.h"
-#include "sem_check.h"
+#include "pc.h"
+/*#include "sem_check.h"*/
/*
TODO:
- Add checkid() to counter mkid()
*/
+extern int yylex();
+
%}
%union {