diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-01-09 18:47:18 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-01-09 19:29:03 -0700 |
commit | f9bc8ed7687bd5303177a45afd26267824bd2ea5 (patch) | |
tree | 4ffb9b264385e3c42c3a08492c4ce4e2bb261a2c /utf8.c | |
parent | ae0e24b1414c1667c7d190ec642617498271eeec (diff) | |
download | perl-f9bc8ed7687bd5303177a45afd26267824bd2ea5.tar.gz |
utf8.c: Renumber cases in switch
This tidies things up after several of them were removed.
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -547,9 +547,9 @@ Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN *retlen, U32 flags) #define UTF8_WARN_EMPTY 1 #define UTF8_WARN_CONTINUATION 2 #define UTF8_WARN_NON_CONTINUATION 3 -#define UTF8_WARN_SHORT 5 -#define UTF8_WARN_OVERFLOW 6 -#define UTF8_WARN_LONG 8 +#define UTF8_WARN_SHORT 4 +#define UTF8_WARN_OVERFLOW 5 +#define UTF8_WARN_LONG 6 if (curlen == 0 && !(flags & UTF8_ALLOW_EMPTY)) { |