grammar repeatedruletest2; a ::= b {c {d}}+ d e b ::= "foo" c ::= "bar" d ::= "magic" e ::= {d}