We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The tree-sitter error reporting is rather lacklustre, and we may currently flag an entire file as being a syntax error in some circumstances. Unfortunately some errors cascade and a single error can be reported in multiple subsequent places. For example, this file has 11 errors, including the whole file, because there are two variables containing $, which is non-standard: https://github.com/bmad-sim/bmad-ecosystem/blob/028ad6228336eae46adc5df4e781b33384a78313/util_programs/wake_plot/wake_plot.f90#L135-L142
$
We can distinguish between node.is_error(), .has_error(), .is_missing(), and .is_extra(). This might let us narrow things down.
node.is_error()
.has_error()
.is_missing()
.is_extra()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The tree-sitter error reporting is rather lacklustre, and we may currently flag an entire file as being a syntax error in some circumstances. Unfortunately some errors cascade and a single error can be reported in multiple subsequent places. For example, this file has 11 errors, including the whole file, because there are two variables containing
$
, which is non-standard: https://github.com/bmad-sim/bmad-ecosystem/blob/028ad6228336eae46adc5df4e781b33384a78313/util_programs/wake_plot/wake_plot.f90#L135-L142We can distinguish between
node.is_error()
,.has_error()
,.is_missing()
, and.is_extra()
. This might let us narrow things down.The text was updated successfully, but these errors were encountered: