Update dependencies between files
This commit is contained in:
parent
cf5bef048e
commit
0b1345d845
|
@ -1,6 +1,6 @@
|
||||||
#ifndef COMPILER_SCOPES_H
|
#ifndef COMPILER_SCOPES_H
|
||||||
#define COMPILER_SCOPES_H
|
#define COMPILER_SCOPES_H
|
||||||
#include "parser.h"
|
#include "parser-tree.h"
|
||||||
|
|
||||||
/* compiler-scopes
|
/* compiler-scopes
|
||||||
* Tools for dealing with scopes.
|
* Tools for dealing with scopes.
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
#ifndef COMPILER_H
|
#ifndef COMPILER_H
|
||||||
#define COMPILER_H
|
#define COMPILER_H
|
||||||
#include "util.h"
|
|
||||||
#include "parser.h"
|
|
||||||
#include "vm-lines.h"
|
|
||||||
#include "compiler-scopes.h"
|
#include "compiler-scopes.h"
|
||||||
|
#include "parser-tree.h"
|
||||||
|
#include "vm-lines.h"
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
SCOPE* globalscope;
|
SCOPE* globalscope;
|
||||||
|
|
1
main.c
1
main.c
|
@ -2,6 +2,7 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include "parser.h"
|
||||||
#include "compiler.h"
|
#include "compiler.h"
|
||||||
|
|
||||||
void printcompiler(COMPILER* c) {
|
void printcompiler(COMPILER* c) {
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#ifndef PARSER_TREE_H
|
#ifndef PARSER_TREE_H
|
||||||
#define PARSER_TREE_H
|
#define PARSER_TREE_H
|
||||||
|
#include <stdbool.h>
|
||||||
#include "tokenizer.h"
|
#include "tokenizer.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue