mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-28 06:01:02 +00:00
make LALRPOP_LANE_TABLE the default
To opt out, you can do `LALRPOP_LANE_TABLE=disabled`
This commit is contained in:
parent
e3ca9d35ad
commit
b1d1d939b9
@ -26,8 +26,8 @@ type ConstructionFunction<'grammar> = fn(&'grammar Grammar, NonterminalString) -
|
|||||||
|
|
||||||
fn use_lane_table() -> bool {
|
fn use_lane_table() -> bool {
|
||||||
match env::var("LALRPOP_LANE_TABLE") {
|
match env::var("LALRPOP_LANE_TABLE") {
|
||||||
Ok(ref s) => s == "enabled",
|
Ok(ref s) => s != "disabled",
|
||||||
_ => false
|
_ => true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user