feat(lexer): comment handling + healthy changes

This commit is contained in:
Matteo Flebus 2026-01-21 18:43:17 +01:00
parent 03e5305b56
commit 306b13308b
4 changed files with 28 additions and 14 deletions

View file

@ -1,9 +1,9 @@
#ifndef LEXER_H
#define LEXER_H
#include "lexer_utils.h"
#include <sys/types.h>
#include "lexer_utils.h"
/*
* @brief: returns the next (newly allocated) token without consuming it.
* if end of input is reached, returns a token of type TOKEN_EOF.