feat: suport for the new lexer and if/else structures
This commit is contained in:
parent
e9d702efb4
commit
80e4b6c2fd
3 changed files with 194 additions and 46 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue