From 417a518d1b37c06015979044d04db8c4a83e051e Mon Sep 17 00:00:00 2001 From: "Gu://em_" Date: Sat, 10 Jan 2026 19:16:36 +0100 Subject: [PATCH] fix(parser): functions body placebo so code compiles --- src/parser/parser.c | 13 +++++++++++++ src/parser/parser.h | 4 ++++ 2 files changed, 17 insertions(+) diff --git a/src/parser/parser.c b/src/parser/parser.c index e69de29..6651e53 100644 --- a/src/parser/parser.c +++ b/src/parser/parser.c @@ -0,0 +1,13 @@ +#include "parser.h" + +#include + +struct ast *get_ast() +{ + return NULL; +} + +struct ast *get_ast_str(char *command) +{ + return NULL; +} diff --git a/src/parser/parser.h b/src/parser/parser.h index 759d4fd..8dccb31 100644 --- a/src/parser/parser.h +++ b/src/parser/parser.h @@ -7,6 +7,8 @@ * * @return Returns the AST representation of the next command to execute. * If there is no command left to execute, retuns an AST_END node. + * + * @warning NOT IMPLEMENTED */ struct ast* get_ast(); @@ -14,6 +16,8 @@ struct ast* get_ast(); * * @return Returns the AST representation of the given command string. * Returns an AST_END node if the given command is empty. + * + * @warning NOT IMPLEMENTED */ struct ast* get_ast_str(char* command);