summaryrefslogtreecommitdiff
path: root/regex.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-16 00:58:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-16 00:58:51 +0000
commitbeb24c5888aaee9374f1c44413f9e06a24a1f91e (patch)
tree48a1b68992a003354f162f24ae0e48ab92d624c7 /regex.c
parent1e5d404935dfe5bdedff5c857b1ec77ac6587387 (diff)
* regex.c (re_compile_fastmap): skip begpos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index c9436a8..9f84c5a 100644
--- a/regex.c
+++ b/regex.c
@@ -2782,6 +2782,7 @@ re_compile_fastmap(bufp)
case begline:
case begbuf:
+ case begpos:
case endbuf:
case endbuf2:
case wordbound:
@@ -3049,7 +3050,6 @@ re_compile_fastmap(bufp)
}
break;
- case begpos:
case unused: /* pacify gcc -Wall */
break;
}