1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-04-26 12:43:13 +00:00
Jonathan Coates 1c120982a7
Distinguish between all parsers passing and failing
Given an input like f(x), which is both a valid statement and
expression, both parsers would accept the whole input. However, this was
treated the same as both parsers rejecting the input, resulting in a
crash when trying to print the error.

We now return immediately when any parser accepts the input.

Fixes #1354
2023-03-04 10:30:12 +00:00
..
2023-02-20 14:55:58 +00:00
2022-12-03 15:55:48 +00:00
2022-11-10 08:54:09 +00:00