1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-04-26 20:53:14 +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
..