ose-net/yesql.net

Does not show the directory of the .sql file when an error occurs with the parser

Closed this issue · 1 comments

Given the following .sql file in sql/products:

-- file: products.sql
SELECT * FROM products;

When loading the .sql file it generates the following error:

product.sql:(line 1, col 1): error: 'SELECT* FROM products;' line is not associated with any tag.

Expected behavior:

sql/products/product.sql:(line 1, col 1): error: 'SELECT* FROM products;' line is not associated with any tag.

I do not consider this task to be such a high priority. I'm closing this issue.
If you are reading this and want to fix it, feel free to create a pull request.