mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-30 23:11:04 +00:00
This fixes a problem in the newly added calculator7 test where error recovery would remove everything before the comma in `22 * 44 + 66, *3` as there would be no shift at that point. By first reducing the first expression the parser ends up in a state which properly has recovery installed and parsing can resume
13 lines
340 B
TOML
13 lines
340 B
TOML
[package]
|
|
name = "calculator"
|
|
version = "0.12.0"
|
|
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
|
build = "build.rs" # <-- We added this and everything after!
|
|
workspace = "../.."
|
|
|
|
[build-dependencies]
|
|
lalrpop = { version = "0.12.0", path = "../../lalrpop" }
|
|
|
|
[dependencies]
|
|
lalrpop-util = { version = "0.12.0", path = "../../lalrpop-util" }
|