summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-06-26 08:01:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-06-26 08:01:00 +0000
commit0fdfc0bbef8f28882ec2f8946a76ee31497ee5c6 (patch)
tree985f79b99e1f4a854c53713a2f99d03b24f662c0 /doc
parent6037d1cf3d92a2f5fc76818263343b582d0228b6 (diff)
downloadruby-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/NEWS11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/NEWS b/doc/NEWS
index 726b57e27e..521a5f268d 100644
--- a/doc/NEWS
+++ b/doc/NEWS
@@ -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