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 | 0fdfc0bbef8f28882ec2f8946a76ee31497ee5c6 (patch) | |
tree | 985f79b99e1f4a854c53713a2f99d03b24f662c0 /doc | |
parent | 6037d1cf3d92a2f5fc76818263343b582d0228b6 (diff) | |
download | ruby-0fdfc0bbef8f28882ec2f8946a76ee31497ee5c6.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@2598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
-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 |