Skip to content

Ignore internal non-terminals in parser #264

@andreasabel

Description

@andreasabel
Prg. Program ::= "main" ;
internal VInt. Value ::= Integer ;

BNFC does currently not produce a valid Happy parser for this.

happy InternalCat/Par.y
InternalCat/Par.y: unknown identifier 'Value'

When generating the parser, we should ignore all non-parsable rules.

Metadata

Metadata

Assignees

Labels

buginternal rulesConcerning the "internal" keyword.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions