Skip to content

Can't parse even simple grammar #805

Answered by tomtau
konceptosociala asked this question in Q&A
Discussion options

You must be logged in to vote

How about this rule: https://github.com/pest-parser/pest/blob/master/meta/src/grammar.pest#L164 ?

multiline_comment  = { "/*" ~ (multiline_comment | !"*/" ~ ANY)* ~ "*/" }

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@konceptosociala
Comment options

@tomtau
Comment options

Answer selected by tomtau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #804 on February 13, 2023 09:51.