We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
issue: root level comments stop the parser
test.sql: /* this is a test */ select 0;
./postgrestools check test.sql test.sql:1:1 syntax ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✖ Invalid statement: Unable to find root node
1 │ /* this is a test */ │ ^^^^^^^^^^^^^^^^^^^^ 2 │ select 0; 3 │
The text was updated successfully, but these errors were encountered:
psteinroe
Successfully merging a pull request may close this issue.
issue: root level comments stop the parser
To Reproduce
test.sql:
/* this is a test */
select 0;
./postgrestools check test.sql
test.sql:1:1 syntax ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✖ Invalid statement: Unable to find root node
The text was updated successfully, but these errors were encountered: