Multiple things

rewrite
ondra05 2023-10-04 19:02:02 +02:00
parent e9ebc89a2d
commit 2bf8445a5f
No known key found for this signature in database
GPG Key ID: 0DA6D2BB2285E881
1 changed files with 5 additions and 1 deletions

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 })
);
}