fixes pending: - some functions are longer than norminette allows - find solution to a list of commands being returned, even though a syntax error is found when processing tokens (maybe delegate some work to the lexer and return only a syntax-valid list?)
23 lines
1.1 KiB
C
23 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* errors.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: sede-san <sede-san@student.42madrid.com +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2026/02/10 22:28:01 by sede-san #+# #+# */
|
|
/* Updated: 2026/02/10 23:24:16 by sede-san ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef ERRORS_H
|
|
# define ERRORS_H
|
|
|
|
# include "minishell.h"
|
|
# include "core.h"
|
|
# include "parser.h"
|
|
|
|
extern void syntax_error_unexpected_token(t_token *token);
|
|
extern void malloc_error(void);
|
|
|
|
#endif /* ERRORS_H */ |