i hate mondays

rework of checker parser to accomodate for string arguments
update of libft
debuged push & pop functions
still need to check for overflow arg
This commit is contained in:
Tanguy MAZE
2019-02-25 17:42:47 +01:00
parent 62764dc5e7
commit 7a2037c046
6 changed files with 64 additions and 55 deletions

View File

@@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/02/21 14:13:53 by tmaze #+# #+# */
/* Updated: 2019/02/24 14:56:19 by tmaze ### ########.fr */
/* Updated: 2019/02/25 15:57:11 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -34,10 +34,14 @@ typedef struct s_psdata
t_list *op;
} t_psdata;
char **ft_strsplitwhitespace(char *s);
int ft_iswhitespace(char c);
t_stack *ps_stknew(int nb);
void ps_stkpsh(t_psdata *data, char c, t_stack *new);
t_stack *ps_stkpop(t_psdata *data, char c);
void ps_stkclean(t_psdata *data);
void ps_initdata(t_psdata *data);
void ps_swap(t_psdata *data, char c);
void ps_sswap(t_psdata *data);