Update dependencies between files

This commit is contained in:
Augusto Gunsch 2020-12-21 21:56:59 -03:00
parent cf5bef048e
commit 0b1345d845
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
4 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#ifndef COMPILER_SCOPES_H
#define COMPILER_SCOPES_H
#include "parser.h"
#include "parser-tree.h"
/* compiler-scopes
* Tools for dealing with scopes.

View File

@ -1,9 +1,8 @@
#ifndef COMPILER_H
#define COMPILER_H
#include "util.h"
#include "parser.h"
#include "vm-lines.h"
#include "compiler-scopes.h"
#include "parser-tree.h"
#include "vm-lines.h"
typedef struct {
SCOPE* globalscope;

1
main.c
View File

@ -2,6 +2,7 @@
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include "parser.h"
#include "compiler.h"
void printcompiler(COMPILER* c) {

View File

@ -1,5 +1,6 @@
#ifndef PARSER_TREE_H
#define PARSER_TREE_H
#include <stdbool.h>
#include "tokenizer.h"
#include "util.h"