Multiple things

This commit is contained in:
Erin 2023-10-04 19:02:02 +02:00 committed by ondra05
parent b3be2a1358
commit b8a9cadc04

View file

@ -102,7 +102,11 @@ pub fn parse_input<'a>(
) -> ParseResult {
println!(
"{:?}",
definition().parse_with_state(input, &mut State { arena })
definition()
.separated_by(just(T![";"]))
.allow_trailing()
.pipe(arena_collect)
.parse_with_state(input, &mut State { arena })
);
}