repeat each
is not a single production in the grammar; they don't always appear as consecutive tokens. repeat (each T, Int)
means something other than (repeat each T, Int)
. If we substitute T for String, Bool
, the first one becomes (String, Int), (Bool, Int)
while the second is (String, Bool, Int)
.
7 Likes