Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/match: fix panic at EOF when TraceDFA > 0
With TraceDFA > 0, Scan sometimes panics by indexing a slice with a negative value. This fixes the panic. The fix is trivial: index the slice with a variable that was already adjusted non-negative for the purpose but not used.
- Loading branch information