Improve error messages to show problematic position in the filter (#3292)
This commit improves the parser and compiler error messages, making it more easier to understand where in the filter the problem is. Like modern compilers, jq will show the line in the filter where the error occurred, will display squiggly line under the invalid token.
This commit is contained in:
1 parent
c350566001
commit
b733dfaee7
6 files changed
+801
-735
No files matched your search
Generated
+645
-653
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user