From 0fdfc0bbef8f28882ec2f8946a76ee31497ee5c6 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 26 Jun 2002 08:01:00 +0000 Subject: * 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 --- doc/NEWS | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc/NEWS') diff --git a/doc/NEWS b/doc/NEWS index 726b57e27e..521a5f268d 100644 --- a/doc/NEWS +++ b/doc/NEWS @@ -1,3 +1,14 @@ +: 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. -- cgit v1.2.3