42 while (node->
args[i] != NULL)
62 ft_printf(
"Error: unable to allocate memory for token\n");
int ft_printf(const char *format,...)
char * ft_strndup(const char *s, size_t n)
size_t ft_strlen(const char *s)
void append_word_if_valid(char *start, char *str, t_token **tokens)
void print_tokens(t_token *tokens, char *name)
void print_ast_args(t_ast *node)
t_token * new_token(char *value, t_token_type type)
void append_token(t_token **tokens, t_token *new_token)