summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/mkmf.rb2
-rw-r--r--parse.y2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 7b83388..6df3c1c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Apr 20 03:09:30 2003 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * parse.y (void_expr0): node might become NULL after calling
+ remove_begin().
+
Sat Apr 19 21:55:10 2003 Akinori MUSHA <knu@iDaemons.org>
* ext/Setup*: Add zlib and remove bogus and obsolete entries.
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index a9f061d..eda3389 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -518,7 +518,7 @@ def dir_config(target, idefault=nil, ldefault=nil)
end
if ldir
- $LIBPATH.unshift(ldir) unless $LIBPATH.include?(ldir)
+ $LIBPATH.concat [ldir] unless $LIBPATH.include?(ldir)
end
[idir, ldir]
diff --git a/parse.y b/parse.y
index a0bc7d2..8a87c8d 100644
--- a/parse.y
+++ b/parse.y
@@ -4980,9 +4980,9 @@ void_expr0(node)
char *useless = 0;
if (!RTEST(ruby_verbose)) return;
- if (!node) return;
again:
+ if (!node) return;
switch (nd_type(node)) {
case NODE_NEWLINE:
node = node->nd_next;