Skip to content

ANTLR backend: start rules needed #272

@andreasabel

Description

@andreasabel

See #163 and antlr/antlr4#2689 : ANTLR will sometimes require a start rule

  StartX : X EOF;

for entrypoint X. The current ANTLR backend does not emit such start rules (the LR parser generators add it automatically), thus, the parser fails in some cases.
TODO: emit such start rules when generating the ANTLR input.

Metadata

Metadata

Assignees

Labels

Java/ANTLRbugentrypointsConcerning entry points for the parser and the `entrypoints` directive

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions