comparison src/regex.c @ 373:6240c7796c7a r21-2b2

Import from CVS: tag r21-2b2
author cvs
date Mon, 13 Aug 2007 11:04:06 +0200
parents cc15677e0335
children 8626e4521993
comparison
equal deleted inserted replaced
372:49e1ed2d7ed8 373:6240c7796c7a
4855 { 4855 {
4856 lowest_active_reg = NO_LOWEST_ACTIVE_REG; 4856 lowest_active_reg = NO_LOWEST_ACTIVE_REG;
4857 highest_active_reg = NO_HIGHEST_ACTIVE_REG; 4857 highest_active_reg = NO_HIGHEST_ACTIVE_REG;
4858 } 4858 }
4859 else 4859 else
4860 highest_active_reg = r; 4860 {
4861 } 4861 highest_active_reg = r;
4862
4863 /* 98/9/21 jhod: We've also gotta set lowest_active_reg, don't we? */
4864 r = 1;
4865 while (r < highest_active_reg && !IS_ACTIVE(reg_info[r]))
4866 r++;
4867 lowest_active_reg = r;
4868 }
4869 }
4862 4870
4863 /* If just failed to match something this time around with a 4871 /* If just failed to match something this time around with a
4864 group that's operated on by a repetition operator, try to 4872 group that's operated on by a repetition operator, try to
4865 force exit from the ``loop'', and restore the register 4873 force exit from the ``loop'', and restore the register
4866 information for this group that we had before trying this 4874 information for this group that we had before trying this