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:
itchyny authored and GitHub committed 2025-05-18 16:36:32 +09:00
1 parent c350566001
commit b733dfaee7
6 files changed
+801 -735

No files matched your search

Generated
+645 -653
View File
File diff suppressed because it is too large. Load diff