Ticket #4191: patch_perl_matcher_common.patch
File patch_perl_matcher_common.patch, 807 bytes (added by , 12 years ago) |
---|
-
.hpp
old new 732 732 { 733 733 // Have we recursed into subexpression "index"? 734 734 // If index == 0 then check for any recursion at all, otherwise for recursion to -index-1. 735 int id = -index-1;736 if(id >= 10000)737 id = re.get_data().get_id(id);738 result = recursion_stack_position && ((recursion_stack[recursion_stack_position-1].id == id ) || (index == 0));735 int idtest = -index-1; 736 if(idtest >= 10000) 737 idtest = re.get_data().get_id(idtest); 738 result = recursion_stack_position && ((recursion_stack[recursion_stack_position-1].id == idtest) || (index == 0)); 739 739 pstate = pstate->next.p; 740 740 } 741 741 return result;