summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-19 18:17:59 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-19 18:17:59 +0000
commit534c5a29107b741cd322fe0dee17146de6e84087 (patch)
treeb6a87c36d60886aecdee0213899b3b7bb66ea15a /parse.y
parentf7b5d336208e64a1b95dc403ee902157783bfdc3 (diff)
* 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
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
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;