mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-24 07:48:04 +03:00
rename abnf enum
This commit is contained in:
parent
3bc90da57c
commit
e98079fecf
@ -179,7 +179,7 @@ impl<'a> Processor<'a> {
|
|||||||
fn parse_abnf_node(node: &Node, sum: &mut Vec<String>) {
|
fn parse_abnf_node(node: &Node, sum: &mut Vec<String>) {
|
||||||
match node {
|
match node {
|
||||||
// these two are just vectors of rules
|
// these two are just vectors of rules
|
||||||
Node::Alternation(vec) | Node::Concatenation(vec) => {
|
Node::Alternatives(vec) | Node::Concatenation(vec) => {
|
||||||
for node in vec {
|
for node in vec {
|
||||||
parse_abnf_node(node, sum);
|
parse_abnf_node(node, sum);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user