summaryrefslogtreecommitdiff
path: root/doop.c
diff options
context:
space:
mode:
authorLarry Wall <larry@wall.org>1998-10-23 18:00:41 +0000
committerLarry Wall <larry@wall.org>1998-10-23 18:00:41 +0000
commit834a4ddd8309fbf6aabbbc51bb6fcbe056e7963f (patch)
tree10dce2532e7be7538af0c19f5a7d7f73c9220e55 /doop.c
parent62b1ebc20082e645ed8e8a0cc6c1ebf91577cd34 (diff)
downloadperl-834a4ddd8309fbf6aabbbc51bb6fcbe056e7963f.tar.gz
Program with utf8 identifiers fails to compile
p4raw-id: //depot/perl@2038
Diffstat (limited to 'doop.c')
-rw-r--r--doop.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/doop.c b/doop.c
index 5390331fee..7ed895d2a9 100644
--- a/doop.c
+++ b/doop.c
@@ -215,10 +215,9 @@ do_trans_UU_count(SV *sv)
send = s + len;
while (s < send) {
- if ((uv = swash_fetch(rv, s)) < none) {
- s += UTF8SKIP(s);
+ if ((uv = swash_fetch(rv, s)) < none)
matches++;
- }
+ s += UTF8SKIP(s);
}
return matches;