fix: new lexer is linked to everything

This commit is contained in:
Matteo Flebus 2026-01-20 20:32:59 +01:00
parent d5a1ec3ca6
commit 71e58e38b8
6 changed files with 26 additions and 22 deletions

View file

@ -1,6 +1,7 @@
#ifndef PARSER_H
#define PARSER_H
#include "lexer/lexer.h"
#include "utils/ast/ast.h"
/* @brief Builds the AST representation of the next command to execute.
@ -10,7 +11,7 @@
*
* @warning NOT IMPLEMENTED
*/
struct ast *get_ast(void);
struct ast *get_ast(struct lexer_context *ctx);
/* @brief Builds the AST representation of the given command string.
*