Updated the way symbols are represented and how they are marked as resolved.
This commit is contained in:
+2
-2
@@ -10,7 +10,7 @@
|
||||
|
||||
const char* MagicStartName = "__start";
|
||||
List* LIST;
|
||||
SymbolTable* Symbols;
|
||||
SymbolTable* Symbols = NULL;
|
||||
|
||||
unsigned char mem[128] = {0};
|
||||
void print(void);
|
||||
@@ -31,7 +31,7 @@ int main(int argc, char* args[]) {
|
||||
|
||||
LIST = GenerateTokenList(source_code);
|
||||
|
||||
Symbols = ParseTokens(LIST);
|
||||
ParseTokens(LIST, &Symbols);
|
||||
|
||||
free(source_code);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user