Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Can't interpret statement caused by BOM #65

Open
ArwynFr opened this issue May 15, 2021 · 0 comments
Open

Can't interpret statement caused by BOM #65

ArwynFr opened this issue May 15, 2021 · 0 comments

Comments

@ArwynFr
Copy link

ArwynFr commented May 15, 2021

When parsing an file with BOM bytes, it causes a "can't interpret statement" error.
This is probably because the parser consider these bytes as an identifier.
Perhaps sqlint should ignore or warn when a source file starts with BOM bytes.

https://en.wikipedia.org/wiki/Byte_order_mark

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant