E206 Wrong number of argumentsΒΆ

A use of a rule with parameters passes another number of arguments than the rule declares, or a level or a parameter is given arguments, which they do not take.

start: list<"a">
list<item, separator>: item (separator item)*
grammar.fpeg:1:8: error[E206]: list takes 2 arguments, 1 given

Pass one argument for each parameter.

start: list<"a", ",">
list<item, separator>: item (separator item)*