Skip to content

Common prefix resolution #3939

Answered by kaby76
luan-xiaokun asked this question in Q&A
Oct 26, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Antlr will take almost any grammar and generate a parser for it. That parser will handle the common prefix. However, the grammar is ambiguous, so Antlr will choose one derivation or the other (likely through "type"). You should fix the grammar.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@luan-xiaokun
Comment options

@kaby76
Comment options

@luan-xiaokun
Comment options

Answer selected by luan-xiaokun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants