Skip to content

BNFC does not allow empty declarations in .cf files #215

@andreasabel

Description

@andreasabel

BNFC (haskell) accepts totally empty input files, but not

;

It should also allow empty declarations consisting just of a ;.
This would allow a style like

-- comment
; Rule. S ::= P
-- comment
; Rule2. S ::= Q

where semicolons are aligned at the first column.

Metadata

Metadata

Assignees

Labels

LBNFConcerning the LBNF syntax and its checkingenhancement

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions