make LALRPOP_LANE_TABLE the default

To opt out, you can do `LALRPOP_LANE_TABLE=disabled`
This commit is contained in:
Niko Matsakis 2017-06-15 10:50:55 -04:00
parent e3ca9d35ad
commit b1d1d939b9

View File

@ -26,8 +26,8 @@ type ConstructionFunction<'grammar> = fn(&'grammar Grammar, NonterminalString) -
fn use_lane_table() -> bool {
match env::var("LALRPOP_LANE_TABLE") {
Ok(ref s) => s == "enabled",
_ => false
Ok(ref s) => s != "disabled",
_ => true
}
}