fix: new lexer is linked to everything
This commit is contained in:
parent
d5a1ec3ca6
commit
71e58e38b8
6 changed files with 26 additions and 22 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue