Skip to content

Auto detection of new line format in lexical analyzer #3

Open
@amirbawab

Description

@amirbawab

Option 1: Add the option to AUTO detect new line format in user input file: CR, LF, CRLF, instead of manually specifying it in the lexical JSON config.

{
    "newline": "AUTO",
    "..."
}

Enhancement:

  • Add AUTO option in EasyCC-CPP/src/lexical/Lexical.cpp function Lexical::generateLexicalTokens()

Docs:


Edit:

  • Added Option 1

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions