Printable idea sheet
check_rq_syntax
reqlan rq/core_analysis/check.rq:460
Katz 0.187
check reports a syntax error when an `.rq` file fails to parse.
The parser ( `reqlan-parse` ) is the single source of the message and span.
Example message: `expected idea, ideaset, or one-liner`.
The language server already shows these diagnostics ( language_server_rust ).
check_rq_syntax must emit the same class of issue so CLI and CI catch what the editor underlines.
Issue kind is `syntax`. The label is the parser message. Severity follows the parser diagnostic.
A file that only fails to parse still appears in the issue list even when it contributes no ideas or references.
comment_reference_ignore suppresses a syntax error on the next line ( same rule as the language server ).
Comment-reference syntax in non- `.rq` files stays code_comment_syntax_errors.
Related: check check_rq_syntax grammar_and_parser
- implementation
- parser.rs, mod.rs, sync.rs, analysis.rs, check.ts
- status
- pending
- todo
- Surface `reqlan-parse` diagnostics through `check_references`; cover CLI/JSON and `//rq-ignore-error`.
Interactive page: check_rq_syntax