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:
parent
f7b5d33620
commit
534c5a2910
3 changed files with 7 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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]
|
||||
|
|
2
parse.y
2
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;
|
||||
|
|
Loading…
Reference in a new issue