1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* parse.y (void_expr0): node might become NULL after calling remove_begin().

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2003-04-19 18:17:59 +00:00
parent f7b5d33620
commit 534c5a2910
3 changed files with 7 additions and 2 deletions

View file

@ -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.

View file

@ -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]

View file

@ -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;