Mercurial > hg > xemacs-beta
comparison src/regex.c @ 318:afd57c14dfc8 r21-0b57
Import from CVS: tag r21-0b57
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:45:36 +0200 |
parents | 558f606b08ae |
children | a4f53d9b3154 |
comparison
equal
deleted
inserted
replaced
317:a2fc9afbef65 | 318:afd57c14dfc8 |
---|---|
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 |