Skip to content

Empty regular expression crashes Alex #388

@andreasabel

Description

@andreasabel
$ cat test.cf
Empty2. E ::= Empty;

token Empty [""];

This produces:

So there should be a check for the empty regular expression, like for the nullable one.

Metadata

Metadata

Assignees

Labels

LBNFConcerning the LBNF syntax and its checkinglexerConcerning the generated lexer

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions