summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-23 15:09:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-23 15:09:07 +0000
commit5aadcd934937f0898fdd3d9bbec3550f65598b98 (patch)
treee87733e1baba188b7314b454410e9596b6b6ac7e /parse.y
parent051eca3268b769aec21ad3c8405f299016d9b330 (diff)
* parse.y (block_append): warn unused lteral.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index 5a75485..8096d5d 100644
--- a/parse.y
+++ b/parse.y
@@ -4491,6 +4491,7 @@ block_append(head, tail)
goto again;
case NODE_LIT:
case NODE_STR:
+ rb_warning("unused literal ignored");
return tail;
default:
end = NEW_BLOCK(head);