summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-01-09 18:47:18 -0700
committerKarl Williamson <public@khwilliamson.com>2011-01-09 19:29:03 -0700
commitf9bc8ed7687bd5303177a45afd26267824bd2ea5 (patch)
tree4ffb9b264385e3c42c3a08492c4ce4e2bb261a2c /utf8.c
parentae0e24b1414c1667c7d190ec642617498271eeec (diff)
downloadperl-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/utf8.c b/utf8.c
index 3615fdd5b0..eee57711ac 100644
--- a/utf8.c
+++ b/utf8.c
@@ -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)) {