bug found
found bug in parser that made link adding impossible
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: mndhlovu <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2019/03/25 06:31:37 by mndhlovu #+# #+# */
|
||||
/* Updated: 2019/04/22 12:52:48 by mndhlovu ### ########.fr */
|
||||
/* Updated: 2019/04/24 09:51:14 by tmaze ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -37,7 +37,7 @@ void lm_init_data(t_syntax *synt, t_holder *holder, t_lmdata *ldata)
|
||||
|
||||
static void lm_add_vertex_sub(t_lmdata *ldata, t_node *new)
|
||||
{
|
||||
t_node *tmp;
|
||||
t_node *tmp;
|
||||
|
||||
if (ldata->nodes_data == NULL)
|
||||
ldata->nodes_data = new;
|
||||
@@ -112,7 +112,6 @@ int lm_ext_conn(t_holder *holder, t_lmdata *data, char *raw)
|
||||
dest = lm_find_index(data, tab[1]);
|
||||
if (src == -1 || dest == -1)
|
||||
{
|
||||
ft_printf("Bingo :%s\n", raw);
|
||||
ft_del_words_tables(&tab);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user