summaryrefslogtreecommitdiffstats
path: root/regex.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-09 09:04:36 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-09 09:04:36 +0000
commit8b8a531c69c5e3d34733cec67cbaa19da8e3517b (patch)
tree5beed6846830b95d3b130aa73e2772aa4ded0dad /regex.c
parent4ae6373a307244d9f8212f96607950215c15b302 (diff)
downloadruby-8b8a531c69c5e3d34733cec67cbaa19da8e3517b.tar.gz
ruby-8b8a531c69c5e3d34733cec67cbaa19da8e3517b.tar.xz
ruby-8b8a531c69c5e3d34733cec67cbaa19da8e3517b.zip
2000-03-09
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index ac8ea0eea..c0f53c85f 100644
--- a/regex.c
+++ b/regex.c
@@ -2996,11 +2996,12 @@ re_compile_fastmap(bufp)
c = beg + 1;
}
- for (j = c; j < (1 << BYTEWIDTH); j++)
+ for (j = c; j < (1 << BYTEWIDTH); j++) {
if (num_literal)
fastmap[j] = 1;
if (ismbchar(j))
fastmap[j] = 1;
+ }
}
break;