diff options
author | Yves Orton <demerphq@gmail.com> | 2012-09-29 23:58:03 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2012-09-29 23:58:03 +0200 |
commit | d23111dc1240d6df1b457d2f5f057aafb900ab22 (patch) | |
tree | 78d080053aad35a3913f325c380feb4145e8838e /regcharclass.h | |
parent | 6c4f067834ceefa3a58497985d62977e4f8738e9 (diff) | |
download | perl-d23111dc1240d6df1b457d2f5f057aafb900ab22.tar.gz |
remove test define from regen/regcharclass.pl
Diffstat (limited to 'regcharclass.h')
-rw-r--r-- | regcharclass.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/regcharclass.h b/regcharclass.h index d0aedf323c..4326bb5064 100644 --- a/regcharclass.h +++ b/regcharclass.h @@ -493,22 +493,6 @@ ( ( ( ( 0x9D == ((U8*)s)[1] ) && ( 0x85 == ((U8*)s)[2] ) ) && ( 0xB3 <= ((U8*)s)[3] && ((U8*)s)[3] <= 0xBA ) ) ? 4 : 0 )\ : ( ( 0xF3 == ((U8*)s)[0] ) && ( 0xA0 == ((U8*)s)[1] ) ) ? 4 : 0 ) -/* - FOR_TESTING_DEMO: This is used to test if we generate incorrect code (currently it is ok) - - "\x{3B7}\x{342}" - "\x{3B9}\x{308}\x{301}" -*/ -/*** GENERATED CODE ***/ -#define is_FOR_TESTING_DEMO_utf8_safe(s,e) \ -( ((e)-(s) > 5) ? \ - ( ( 0xCE == ((U8*)s)[0] ) ? \ - ( ( 0xB7 == ((U8*)s)[1] ) ? \ - ( ( ( 0xCD == ((U8*)s)[2] ) && ( 0x82 == ((U8*)s)[3] ) ) ? 4 : 0 )\ - : ( ( ( ( ( 0xB9 == ((U8*)s)[1] ) && ( 0xCC == ((U8*)s)[2] ) ) && ( 0x88 == ((U8*)s)[3] ) ) && ( 0xCC == ((U8*)s)[4] ) ) && ( 0x81 == ((U8*)s)[5] ) ) ? 6 : 0 )\ - : 0 ) \ -: ( ( ( ( ((e)-(s) > 3) && ( 0xCE == ((U8*)s)[0] ) ) && ( 0xB7 == ((U8*)s)[1] ) ) && ( 0xCD == ((U8*)s)[2] ) ) && ( 0x82 == ((U8*)s)[3] ) ) ? 4 : 0 ) - #endif /* H_REGCHARCLASS */ |