Updated the way symbols are represented and how they are marked as resolved.

This commit is contained in:
2023-07-09 22:04:55 -05:00
parent 9c8fe17c8f
commit 65383cded2
6 changed files with 82 additions and 45 deletions
+2 -2
View File
@@ -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);