Fix handling if the zeroth rule
authorLukas Jiriste <ljiriste@student.42prague.com>
Thu, 11 Jul 2024 18:08:39 +0000 (20:08 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Sun, 21 Jul 2024 18:21:22 +0000 (20:21 +0200)
commit81f4e0cadf0564a91bc0a31670d02dd78a3a3bd4
treea1d7c6165ce80ac56bc044f1d5b08f0a13697091
parentcb1c0f1198b4950ebd8ecf3d87e6050a6a76c6fa
Fix handling if the zeroth rule

Removing the zeroth rule before the translation makes all the items
point one rule ahaed. So instead the rule number is decreased by one
the zeroth rule reduce is converted to accept.
ft_parse/ft_parsing_table_generate.c