1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-11-05 09:36:19 +00:00
CC-Tweaked/projects/core
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
..
src Distinguish between all parsers passing and failing 2023-03-04 10:30:12 +00:00
build.gradle.kts Enforce version bounds for the Kotlin stdlib 2023-01-17 20:28:31 +00:00