From: matz@... (Yukihiro Matsumoto) Date: 2003-10-29T11:31:41+09:00 Subject: Re: Crash in ruby 1.8.0 Hi, In message "Crash in ruby 1.8.0" on 03/10/29, "Brett H. Williams" writes: | |This doesn't look right... | |vor-lord:scan_plan/scan_plan> ruby -e 'def next(); end; next()' |-e:1: [BUG] Segmentation fault |ruby 1.8.0 (2003-08-04) [i386-linux] | |Aborted This patch should work. Thank you. matz. diff -p -u -1 -r1.298 -r1.299 --- parse.y 28 Oct 2003 02:27:02 -0000 1.298 +++ parse.y 29 Oct 2003 02:30:05 -0000 1.299 @@ -5368,3 +5368,3 @@ ret_args(node) } - if (nd_type(node) == NODE_SPLAT) { + if (node && nd_type(node) == NODE_SPLAT) { node = NEW_SVALUE(node);