Trying to trace the source of the segfault

I will breakdown the parser for a slight moment then relink it.
This commit is contained in:
Mthandazo Ndhlovu
2019-04-22 16:00:16 +02:00
parent a8b2e31701
commit c35deace58
15 changed files with 93 additions and 209 deletions

View File

@@ -6,7 +6,7 @@
/* By: mndhlovu <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/03/25 06:31:05 by mndhlovu #+# #+# */
/* Updated: 2019/04/22 10:02:05 by tmaze ### ########.fr */
/* Updated: 2019/04/22 15:37:45 by mndhlovu ### ########.fr */
/* */
/* ************************************************************************** */
@@ -60,6 +60,7 @@ static int lem_in(t_syntax *synt, t_holder *holder,
return (0);
if (!(lm_verify_cmd(synt, holder, lmdata)))
return (0);
ft_printf("Number of nodes %d\n", lmdata->nb_nodes);
if (!lst_indinit(lmdata))
return (0);
if (!(lm_adj_parser(lmdata, holder)))