Skip to content

Flex regex patterns are incorrect. #237

Description

@justinmeiners

Set subtraction is translated to the # symbol. Flex doesn't seem to work with patterns containing this symbol. According to this manual this is invalid syntax.

Code:
https://github.com/BNFC/bnfc/blob/master/source/src/BNFC/Backend/CPP/NoSTL/RegToFlex.hs#L52

Metadata

Metadata

Assignees

Labels

CC++buglexerConcerning the generated lexer

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions