Minishell
 
Loading...
Searching...
No Matches
lexer-utils.c File Reference
#include "garbage.h"
#include "libft.h"
#include "minishell.h"
#include <stdlib.h>
Include dependency graph for lexer-utils.c:

Functions

int is_operator_char (char c)
 Is |, < or >
 
char * ft_substr_end_gb (t_garbage *garbage, char const *src, unsigned int start, size_t end)
 Allocate memory for a string and copy the content from src.
 
char ** init_lexer_state (t_garbage *garbage, t_lexer_state *lex_st, const char *line)
 Initialize the lexer structure.