Skip to content

comment rule only support "\n", not support "\r\n" #376

@hangingman

Description

@hangingman

This rule generates

comment "#" ;

$ bnfc -m -cpp_stl sample.cf

following flex file

<INITIAL>"#"[^\n]* /* skip */; /* BNFC: comment "#" */

This is not working when I tried to read windows text file. I wish comment rule was customizable to use CRLF file.

Metadata

Metadata

Assignees

Labels

CC++OCamlWindowsIssues concerning running on WindowsinvalidlexerConcerning the generated lexer

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions