clean up code for when an error occurs

testing with all maps is what is left
This commit is contained in:
Mthandazo Ndhlovu
2019-04-11 14:11:25 +02:00
parent eb85b914a4
commit 0495ba9e55
3 changed files with 8 additions and 7 deletions

View File

@@ -41,7 +41,7 @@ static int lem_in(t_syntax *synt, t_holder *holder,
{
if (!(lm_parser(synt, lmdata, holder)))
return (0);
if (!(lm_verify_cmd(synt, holder, data)))
if (!(lm_verify_cmd(synt, holder, lmdata)))
return (0);
if (!lst_indinit(lmdata))
return (0);