feat: suport for the new lexer and if/else structures

This commit is contained in:
Guillem George 2026-01-14 20:53:47 +01:00
parent e9d702efb4
commit 80e4b6c2fd
3 changed files with 194 additions and 46 deletions

View file

@ -11,7 +11,8 @@ struct ast *parse_if_rule(void);
*/
struct ast *parse_shell_command(void);
/*
/* @brief parses commands inside if/else clauses and returns the corresponding
* AST list
*/
struct ast* parse_compound_list(void);
@ -21,4 +22,4 @@ struct ast* parse_and_or(void);
/*
*/
struct ast* else_clause(void);
struct ast* parse_else_clause(void);