diff options
Diffstat (limited to 'vendor/pest_derive/tests/implicit.pest')
-rw-r--r-- | vendor/pest_derive/tests/implicit.pest | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/pest_derive/tests/implicit.pest b/vendor/pest_derive/tests/implicit.pest index 18ebf7eaf..4d26b66d6 100644 --- a/vendor/pest_derive/tests/implicit.pest +++ b/vendor/pest_derive/tests/implicit.pest @@ -1,9 +1,9 @@ program = _{ SOI ~ implicit ~ EOI } -implicit= ${ or ~ (WHITESPACE+ ~ or )* } +implicit= ${ #head = or ~ #tail = (WHITESPACE+ ~ or)* } -or = !{ and ~ (or_op ~ and)+ | and } -and = { comp ~ (and_op ~ comp)+ | comp } -comp = { array ~ eq_op ~ array | array } +or = !{ #more_and = and ~ (or_op ~ and)+ | #one_and = and } +and = { #more_comp = comp ~ (and_op ~ comp)+ | #one_comp = comp } +comp = { #more_array = array ~ eq_op ~ array | #one_array = array } array = ${ term } |