Just got paranoid about saving all this work. Almost finished operator overloading, but everything is slightly broken right now.

This commit is contained in:
Nathan Braswell
2014-03-06 13:13:40 -05:00
parent 7f902880c5
commit 57976beb40
15 changed files with 273 additions and 147 deletions

View File

@@ -10,7 +10,7 @@ class Type;
#include "Type.h"
#ifndef NULL
#define NULL 0
#define NULL ((void*)0)
#endif
enum ASTType {undef, translation_unit, interpreter_directive, import, identifier, type_def,
@@ -29,7 +29,7 @@ class ASTData {
ASTType type;
Type* valueType;
Symbol symbol;
std::map<std::string, NodeTree<ASTData>*> scope;
std::map<std::string, std::vector<NodeTree<ASTData>*>> scope;
private:
};