mirror of
https://github.com/VirusTotal/yara-x.git
synced 2026-10-12 02:10:01 +00:00
`expected_token_errors` and `unexpected_token_errors` are used to choose the best diagnostic while parsing the current top-level item. Since the parser error-recovery refactor, speculative failures from successfully parsed items remain in both maps until the whole ruleset is dropped. --------- Co-authored-by: Victor M. Alvarez <[email protected]>