Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL line comment must include white space after -- #23

Open
oxygen opened this issue Apr 30, 2019 · 1 comment
Open

SQL line comment must include white space after -- #23

oxygen opened this issue Apr 30, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@oxygen
Copy link

oxygen commented Apr 30, 2019

SELECT -- must have whitespace [\s ] after --
    *,
    --123, -- double negative is positive!
FROM table--syntax error in mysql

Currently, es6-string identifies --something as a line comment, although its not (it is a syntax error)

@0x00000001A 0x00000001A added the bug Something isn't working label May 6, 2019
@0x00000001A 0x00000001A self-assigned this May 6, 2019
@klausbadelt
Copy link

Linking the PR #52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants