llama.cpp
77b5cf11 - peg-parser: handle zero-repetition as eps()

Commit
222 days ago
peg-parser: handle zero-repetition as eps() When repeat(p, min, max) is called with max=0, return eps() instead of creating a repetition parser. This avoids issues with parsers that have no valid matches. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Author
Committer
Parents
Loading