maxishell
Implementation of a shell for Linux-like systems
|
#include "tokens.h"
Go to the source code of this file.
Functions | |
void | print_tokens (t_token *tokens, char *name) |
void | print_ast_args (t_ast *node) |
void | append_word_if_valid (char *start, char *str, t_token **tokens) |
void append_word_if_valid | ( | char * | start, |
char * | str, | ||
t_token ** | tokens | ||
) |
Definition at line 49 of file tokeniser_helpers.c.
References append_token(), ft_printf(), ft_strndup(), new_token(), and PHRASE.
Referenced by handle_phrase().
void print_ast_args | ( | t_ast * | node | ) |
Definition at line 37 of file tokeniser_helpers.c.
References s_ast::args, and ft_printf().
void print_tokens | ( | t_token * | tokens, |
char * | name | ||
) |
Definition at line 19 of file tokeniser_helpers.c.
References s_token::data, ft_printf(), ft_strlen(), GRN, s_token::next, and RESET.