summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-06 05:27:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-06 05:27:37 +0000
commit50c455507217045133f9ef3e9c5ac85cf68e6e79 (patch)
tree6ae5f5ef47c1537316624a8c7e1a49198dd9397b
parent11229973f4936e46b71c17a6939787b9fa8fd4dd (diff)
* ext/strscan/depend: depends on re.h and regex.h.
* ext/strscan/strscan.c: no version check needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog8
-rw-r--r--ext/strscan/depend3
-rw-r--r--ext/strscan/strscan.c6
3 files changed, 9 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index d36f5347b3..5a5e5faec8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Mar 6 14:27:32 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/strscan/depend: depends on re.h and regex.h.
+
+ * ext/strscan/strscan.c: no version check needed.
+
Sat Mar 6 11:14:33 2004 David Black <dblack@wobblini.net>
* lib/scanf.rb: refixed the previous fix in IO#block_scanf
@@ -69,7 +75,7 @@ Fri Mar 5 19:42:09 2004 Minero Aoki <aamine@loveruby.net>
Fri Mar 5 00:51:35 2004 Dave Thomas <dave@pragprog.com>
- * lib/test/unit.rb: Move RDoc documentation so that you can
+ * lib/test/unit.rb: Move RDoc documentation so that you can
now say 'ri Test::Unit'
Thu Mar 4 22:31:40 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
diff --git a/ext/strscan/depend b/ext/strscan/depend
index 9199574c3f..eba3c3a0d3 100644
--- a/ext/strscan/depend
+++ b/ext/strscan/depend
@@ -1 +1,2 @@
-strscan.o: strscan.c $(hdrdir)/ruby.h $(topdir)/config.h $(hdrdir)/defines.h
+strscan.o: strscan.c $(hdrdir)/ruby.h $(hdrdir)/re.h $(hdrdir)/regex.h \
+ $(topdir)/config.h $(hdrdir)/defines.h
diff --git a/ext/strscan/strscan.c b/ext/strscan/strscan.c
index 68471ed461..b60cdb852f 100644
--- a/ext/strscan/strscan.c
+++ b/ext/strscan/strscan.c
@@ -15,12 +15,6 @@
#include "ruby.h"
#include "re.h"
-#include "version.h"
-
-#if (RUBY_VERSION_CODE < 150)
-# define rb_eRangeError rb_eArgError
-# define rb_obj_freeze(obj) rb_str_freeze(obj)
-#endif
#define STRSCAN_VERSION "0.7.0"