E204 Defined twiceΒΆ

A rule or a level of a precedence block is defined twice, or a level has the name of a rule. Rules and levels share one set of names. A second %extends is an error of this kind too, since a grammar extends at most one other, and so are a second %word or %tabs, a second %recover for one label, a parameter that a template declares twice and a rule that an imported grammar defines twice.

start: "a"
start: "b"
grammar.fpeg:2:1: error[E204]: the rule start is defined twice

Give the rule all its alternatives in one definition, or rename one of them.

start: "a" | "b"