change over to a linked list system and start trying to fix bug which causes the parser to not output anything meaningful due to memory deallocation

This commit is contained in:
2025-05-28 22:51:27 +01:00
parent 43bc7663fc
commit b82e351daf
13 changed files with 465 additions and 176 deletions

View File

@@ -1,10 +1,11 @@
#include "token.h"
#include "../list/list.h"
typedef struct {
const char *path;
const char *content;
int current_column;
TokenStruct* tokens;
LinkedList* tokens;
// add more fields as needed
} LexerState;