/* By: ljiriste <ljiriste@student.42prague.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/21 08:57:54 by ljiriste #+# #+# */
-/* Updated: 2024/07/21 17:41:29 by ljiriste ### ########.fr */
+/* Updated: 2024/07/21 18:18:45 by ljiriste ### ########.fr */
/* */
/* ************************************************************************** */
return (ft_strncmp(a, b, namelen));
}
+int is_token_type(const t_parse_tree_node *node, const char *type)
+{
+ return (!ft_strcmp(node->token.type, type));
+}
+
void clear_old(t_vec *assignments, const char *new)
{
size_t i;