add more parses and fix minor memory leak

This commit is contained in:
2025-05-31 20:03:06 +01:00
parent d18ff96f8f
commit a614eab8fc
16 changed files with 188 additions and 50 deletions

View File

@@ -1,3 +1,6 @@
#ifndef LEXER_H
#define LEXER_H
#include "token.h"
#include "../dynamic_array/darray.h"
#include <stdio.h>
@@ -11,3 +14,6 @@ typedef struct {
} LexerState;
void lexer(LexerState state);
#endif // LEXER_H