Skip to content

Commit

Permalink
* parse.y (words, qwords): word list literal rules.
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nobu committed Jun 26, 2002
1 parent 6037d1c commit 0fdfc0b
Show file tree
Hide file tree
Showing 4 changed files with 149 additions and 125 deletions.
8 changes: 8 additions & 0 deletions ChangeLog
@@ -1,3 +1,11 @@
Wed Jun 26 15:40:00 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>

* parse.y (words, qwords): word list literal rules.

* parse.y (parse_string): ditto.

* parse.y (yylex): %W: word list literal with interpolation. [new]

Tue Jun 25 18:53:34 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>

* parse.y (string1, xstring, regexp): moved lex_strnest
Expand Down
11 changes: 11 additions & 0 deletions 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.
Expand Down

0 comments on commit 0fdfc0b

Please sign in to comment.