pdftract/crates
jedarden 7818f22735 fix(pdftract-5upi): remove diagnostic emission for unknown keywords
The lexer should not emit diagnostics for unknown keywords because:
1. Many valid keywords (trailer, xref, etc.) are not in the initial dispatch table
2. The object parser is responsible for validating keywords against known operators
3. Emitting diagnostics here causes false positives for valid PDF constructs

This change aligns with the task requirement that unknown keywords emit
Token::Keyword without a diagnostic, letting the object parser handle
STRUCT_UNKNOWN_KEYWORD if needed.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-20 22:03:58 -04:00
..
pdftract-cer-diff fix(pdftract-2t9): update regression-corpus step image and secret 2026-05-18 01:20:53 -04:00
pdftract-cli docs(pdftract-49f8): establish Cargo.lock policy and documentation 2026-05-20 18:13:14 -04:00
pdftract-core fix(pdftract-5upi): remove diagnostic emission for unknown keywords 2026-05-20 22:03:58 -04:00
pdftract-py docs(pdftract-2pyln): update verification note with bug fix details 2026-05-20 19:09:49 -04:00