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 | 5fa84237b0235dbc2eb0ceae23c398c1332f1849 (patch) | |
| tree | e87733e1baba188b7314b454410e9596b6b6ac7e /parse.y | |
| parent | 1bb4c74fdb811bdf027efafc2d2805f6659eb6cd (diff) | |
| download | ruby-5fa84237b0235dbc2eb0ceae23c398c1332f1849.tar.gz ruby-5fa84237b0235dbc2eb0ceae23c398c1332f1849.tar.xz ruby-5fa84237b0235dbc2eb0ceae23c398c1332f1849.zip | |
* parse.y (block_append): warn unused lteral.
git-svn-id: http://svn.ruby-lang.org/repos/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); |
