mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-04-26 12:43:13 +00:00

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