Skip to content

Nested comments #155

@thgh

Description

@thgh

it ('can parse nested full comments', () => {
lexer.reset('/* /* */ /* /* */ */ */ select');

I was wondering about this test case. Shouldn't the lexer detect that as a syntax error?

/* /* */ /* /* */ */ */

Postgresql throws: syntax error at or near "*/"

Also notice that the github code highlighter doesn't expect nested comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions