fixes
This commit is contained in:
@@ -130,6 +130,6 @@ t_node *tokenize(char *str)
|
||||
del_void_nodes(&head);
|
||||
debug_token_list(head, "tokenizer");
|
||||
if (syntax_error(head))
|
||||
return (NULL);
|
||||
return (free_linked_list(head), NULL);
|
||||
return (head);
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ int is_sticked(char *val)
|
||||
}
|
||||
meta[meta_it] = -1;
|
||||
if ((meta[0] != -1 && unmeta) || !unic(meta) || (meta[0] == '('
|
||||
&& meta[1] == '(') || (meta[0] == ')' && meta[1] == ')'))
|
||||
&& meta[1] == '(') || (meta[0] == ')' && meta[1] == ')'))
|
||||
return (1);
|
||||
return (0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user