X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fregex.c;h=375cdcf9325e0f3743e949ac09e162796fbe3df5;hb=ddf160705829afe71eae7c9f4cb9c54425fbec98;hp=d7618d11878ea26582365d61dc3fb6a63235fe7e;hpb=77dcef404dc78635f6ffa8f71a803d2bc7cc8921;p=chise%2Fxemacs-chise.git- diff --git a/src/regex.c b/src/regex.c index d7618d1..375cdcf 100644 --- a/src/regex.c +++ b/src/regex.c @@ -3605,11 +3605,13 @@ re_compile_fastmap (struct re_pattern_buffer *bufp) fastmap[j] = 1; for (j = 0x80; j < 0xA0; j++) { +#ifndef UTF2000 if (LEADING_BYTE_PREFIX_P(j)) /* too complicated to calculate this right */ fastmap[j] = 1; else { +#endif int multi_p; Lisp_Object cset; @@ -3621,7 +3623,9 @@ re_compile_fastmap (struct re_pattern_buffer *bufp) == Sword || multi_p) fastmap[j] = 1; } +#ifndef UTF2000 } +#endif } #else /* ! MULE */ for (j = 0; j < (1 << BYTEWIDTH); j++) @@ -3646,11 +3650,13 @@ re_compile_fastmap (struct re_pattern_buffer *bufp) fastmap[j] = 1; for (j = 0x80; j < 0xA0; j++) { +#ifndef UTF2000 if (LEADING_BYTE_PREFIX_P(j)) /* too complicated to calculate this right */ fastmap[j] = 1; else { +#endif int multi_p; Lisp_Object cset; @@ -3662,7 +3668,9 @@ re_compile_fastmap (struct re_pattern_buffer *bufp) != Sword || multi_p) fastmap[j] = 1; } +#ifndef UTF2000 } +#endif } #else /* ! MULE */ for (j = 0; j < (1 << BYTEWIDTH); j++)