diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-03-23 15:09:07 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-03-23 15:09:07 +0000 |
commit | 5aadcd934937f0898fdd3d9bbec3550f65598b98 (patch) | |
tree | e87733e1baba188b7314b454410e9596b6b6ac7e /parse.y | |
parent | 051eca3268b769aec21ad3c8405f299016d9b330 (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.y | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |