summaryrefslogtreecommitdiff
path: root/grammar/src/test_grammar_helper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'grammar/src/test_grammar_helper.rs')
-rw-r--r--grammar/src/test_grammar_helper.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/grammar/src/test_grammar_helper.rs b/grammar/src/test_grammar_helper.rs
index c236952..89f9844 100644
--- a/grammar/src/test_grammar_helper.rs
+++ b/grammar/src/test_grammar_helper.rs
@@ -275,7 +275,6 @@ pub fn new_paren_grammar() -> Result<Grammar, Box<dyn std::error::Error>> {
}
/// Return a left recursive grammar.
-#[allow(dead_code)]
pub fn new_left_recursive_grammar() -> Result<Grammar, Box<dyn std::error::Error>> {
let ter = vec![Terminal::new("B".to_owned()), Terminal::new("C".to_owned())];
let non = vec![