fix(parser): made it compile

This commit is contained in:
Matteo Flebus 2026-01-16 20:27:57 +01:00
parent ed42f0b93d
commit ce60a95471
2 changed files with 10 additions and 6 deletions

View file

@ -18,6 +18,11 @@
puts("Internal error: cannot get the following token"); \
return NULL; \
}
/* @brief: parses a list of [and_or] rules, separated by semicolons.
*/
struct ast *parse_list(void);
/* @brief Parses a simple list of words (command and arguments)
* and returns the resulting ast
*/
@ -44,4 +49,4 @@ struct ast* parse_and_or(void);
*/
struct ast* parse_else_clause(void);
#define /* ! PARSING_UTILS_H */
#endif /* ! PARSING_UTILS_H */