Please sign in to comment.
regcomp.c: handle_regex_sets() - add DEBUG_PARSE and fixup 'depth' logic
'depth' is used to track the recursion depth during compilation, and is used by things like DEBUG_PARSE() to show the compilation process. handle_regex_sets() was using its own 'depth' for two different purposes, which is quite confusing. At the same time, when we call handle_regex_sets() from reg() it is important to increment 'depth'.
- Loading branch information...