1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
%% parser test_option: ignore: r'\s+' token a: 'a' token b: 'b' token EOF: r'$' rule test_brackets: a [b] EOF rule test_question_mark: a b? EOF %% # The generated code for test_brackets and test_question_mark should # be the same.