Skip to content

Empty comment delimiters make lexer loop #339

@andreasabel

Description

@andreasabel

BNFC should reject this:

Foo. Bar ::= "bar";

comment "";
comment "" "";

Empty comment delimiters make no sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    LBNFConcerning the LBNF syntax and its checkingcommentsConcerning the "comment" pragmalexerConcerning the generated lexer

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions