Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (6 sloc) 180 Bytes
@start = method+;
method = {NO}? type Word '(' args ')' ';'
| {1}? type Word '(' args ')' '{' '}';
type = 'void' | 'int';
args = Empty | arg (',' arg)*;
arg = 'int' Word;