diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-07-14 13:17:32 -0400 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2019-07-14 13:17:32 -0400 |
commit | ba13151fc0fcaebccacbb53ec87721bf7aff0c9a (patch) | |
tree | df67bfeb4cdbbb1d4e43aca6e41c570cce6969ad | |
parent | bedb3a6cd7e22f4cde0969e8d2e1f2596efd8c8d (diff) |
Fix includes and function definitions (extern)
-rw-r--r-- | pc.y | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 { |