diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-06-26 08:01:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-06-26 08:01:00 +0000 |
commit | 2dcc5900d542fe979d338c2f91bfbb8cf1d50975 (patch) | |
tree | 985f79b99e1f4a854c53713a2f99d03b24f662c0 /doc/NEWS | |
parent | ef90ad996f6df33cfd21b7af3d58ae91d16d4dd9 (diff) | |
download | ruby-2dcc5900d542fe979d338c2f91bfbb8cf1d50975.tar.gz ruby-2dcc5900d542fe979d338c2f91bfbb8cf1d50975.tar.xz ruby-2dcc5900d542fe979d338c2f91bfbb8cf1d50975.zip |
* parse.y (words, qwords): word list literal rules.
* parse.y (parse_string): ditto.
* parse.y (yylex): %W: word list literal with interpolation. [new]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc/NEWS')
-rw-r--r-- | doc/NEWS | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,16 @@ : parser + %W(...) notation, word list literal like %w(...) with the + exception that #{} interpolation is allowed. + +: parser + + Now arbitrary statements are allowed inside #{} interpolation + without escapes. In other hand, they can no longer access to + variables defined in eval. + +: parser + Digits preceded minus sign is a literal integer. : IO::sysopen |