diff options
-rw-r--r-- | grammar/src/abnf/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grammar/src/abnf/mod.rs b/grammar/src/abnf/mod.rs index f825bef..561a397 100644 --- a/grammar/src/abnf/mod.rs +++ b/grammar/src/abnf/mod.rs @@ -2495,8 +2495,8 @@ impl std::str::FromStr for Grammar { } if !appending_p { - nonterminals_map.insert(rule_name.clone(), nonterminals_vec.len()); - nonterminals_vec.push(rule_name.clone()); + // nonterminals_map.insert(rule_name.clone(), nonterminals_vec.len()); + // nonterminals_vec.push(rule_name.clone()); all_rules.insert(rule_name, transformed_rule); } else { |