Modified how registers and opcodes are represented. This commit is a bit buggy but doesn't crash and burn at least. I just wanted the new structs push out before making a bigger mess of things as I try to organize this all.
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ int main(int argc, char* args[]) {
|
||||
|
||||
printf("Token Type: '%d' Value: '%s' (%d)\n", t->type, t->value, line_number);
|
||||
|
||||
free(t->value);
|
||||
if (t->type <= ORG) free(t->value);
|
||||
}
|
||||
|
||||
DestroyList(tokens);
|
||||
|
||||
Reference in New Issue
Block a user