Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error checks in tre_parse().
* Remove redundant status check at the top of the loop. It's already part of the loop condition. * Check status immediately after the loop terminates, so if we hit the stack limit, we correctly return REG_ESPACE, not REG_EPAREN.
- Loading branch information