Change the way tokens are compared for zeroth rule
authorLukas Jiriste <ljiriste@student.42prague.com>
Fri, 5 Jul 2024 10:16:03 +0000 (12:16 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Sun, 21 Jul 2024 18:21:21 +0000 (20:21 +0200)
commitb371ea6150879d8374981f445d24958909d673e0
treefb0edfbd41a996202abc9bfc0a0e2f666fc3ad66
parent58ae8da95f82121a91935481ef0040749607375f
Change the way tokens are compared for zeroth rule

The zeroth rule contains a token which has NULL at type. Because the
function cmp_token_type is used when comparing rules (items) it has to
be able to handle this NULL.
ft_parse/ft_parsing_table_generate.c