-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parser error messages for inputs with more than a query (#1419)
For inputs that consist of a valid SELECT or CONSTRUCT query that are followed by additional (illegal) characters, like ``` SELECT * WHERE {} } # trailing } ``` an internal assertion that was not very helpful was triggered. This is now fixed, the error now is "... expected EOF" with the end of the correctly parsed query being highlighted. The reason was a subtle bug in the SPARQL grammar file. Closes #1402
- Loading branch information
Showing
4 changed files
with
19 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters