diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-10-16 10:45:44 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-10-16 21:48:36 -0600 |
commit | 40b1ba4ffc62ae8198d69e8e3b33cf8201c6a18f (patch) | |
tree | 6c9dc0617aba9a4baa147b2e78d58ddcff1b5ede /regcharclass.h | |
parent | b4291290926312792a6bfb115da2883d6c9c433d (diff) | |
download | perl-40b1ba4ffc62ae8198d69e8e3b33cf8201c6a18f.tar.gz |
regen/regcharclass.pl: Change name of generated macro
This changes the macro isMULTI_CHAR_FOLD() (non-utf8 version) from just
generating ascii-range code points to generating the full Latin1 range.
However there are no such non-ASCII values, so the macro expansion is
unchanged. By changing the name, it becomes clearer in future commits
that we aren't excluding things that we should be considering.
Diffstat (limited to 'regcharclass.h')
-rw-r--r-- | regcharclass.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regcharclass.h b/regcharclass.h index 37f57ba3ef..b631cd19a8 100644 --- a/regcharclass.h +++ b/regcharclass.h @@ -694,12 +694,12 @@ : 0 ) /* - MULTI_CHAR_FOLD: multi-char ascii strings that are folded to by a single character + MULTI_CHAR_FOLD: multi-char strings that are folded to by a single character ®charclass_multi_char_folds::multi_char_folds(0) */ /*** GENERATED CODE ***/ -#define is_MULTI_CHAR_FOLD_low_safe(s,e) \ +#define is_MULTI_CHAR_FOLD_latin1_safe(s,e) \ ( ((e)-(s) > 2) ? \ ( ( ( ((U8*)s)[0] & 0xDF ) == 0x46 ) ? \ ( ( ( ((U8*)s)[1] & 0xDF ) == 0x46 ) ? \ |