summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadrieril2019-03-01 16:58:39 +0100
committerNadrieril2019-03-01 16:58:39 +0100
commit8a2b7536902831079eddd7b00291b718f5dd7186 (patch)
tree4f39abaa445b6f24291ff1ca6edc6380c4e9e239
parent2c5f4d18fc9f7832f445cb4756b445cecdacc591 (diff)
remove simple-label override
-rw-r--r--build.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/build.rs b/build.rs
index e693cec..a418c67 100644
--- a/build.rs
+++ b/build.rs
@@ -139,8 +139,6 @@ fn main() -> std::io::Result<()> {
rule_settings.insert(line, PestRuleSettings { visible: true, ..Default::default() });
}
}
- let simple_label_replace = r#"!keyword ~ simple_label_first_char ~ simple_label_next_char* | keyword ~ simple_label_next_char+"#;
- rule_settings.insert("simple_label".into(), PestRuleSettings { visible: true, replace: Some(simple_label_replace.into()) });
let mut file = File::create(pest_path)?;
writeln!(&mut file, "{}", abnf_to_pest(&data, &rule_settings)?)?;