SIGN IN SIGN UP

Fix validate_tokens for multiple EOS tokens (#347)

`validate_tokens` in `parser/src/earley/parser.rs` only recognized the
primary EOS token, which was overlooked in #305 when adding support for
multiple EOS tokens.

This PR aligns the behaviour with e.g. `compute_mask` that now allows
multiple eos tokens.

Signed-off-by: Dennis Keck <26092524+fellhorn@users.noreply.github.com>
D
Dennis Keck committed
25c018d57e38c9b4461077cc7653ed49d3b1a7bb
Parent: eb60148
Committed by GitHub <noreply@github.com> on 5/7/2026, 5:39:06 PM