summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--regex.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 88ff3e9b03..ffa7a6648d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,10 @@ Tue Feb 12 01:21:34 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (assignable): should emit CVASGN within the method
body.
+Mon Feb 11 00:10:41 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
+
+ * regex.c (re_compile_fastmap): skip begpos.
+
Sun Feb 10 16:52:53 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* ruby.c (load_file): avoid SEGV on '#' only input.
diff --git a/regex.c b/regex.c
index 9115fc112c..eddfd2817b 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:
@@ -3048,7 +3049,6 @@ re_compile_fastmap(bufp)
}
break;
- case begpos:
case unused: /* pacify gcc -Wall */
break;
}