diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-14 10:53:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-14 10:53:47 +0000 |
commit | 7df1e45bb6b4326da5c799dcf58d38f0a14362af (patch) | |
tree | c742cebc6f6a1bc37d74c7a24b9d59b68971afdd /NEWS | |
parent | a61ae940c68c4401a42487ee2b670e145dd56dcd (diff) | |
download | ruby-7df1e45bb6b4326da5c799dcf58d38f0a14362af.tar.gz |
ripper: add states of scanner
* parse.y (ripper_state): add states of scanner to tokens from
Ripper.lex and Ripper::Filter#on_*. based on the patch by
aycabta (Code Ahss) at [ruby-core:81789]. [Feature #13686]
* ext/ripper/tools/preproc.rb (prelude, usercode): generate EXPR_*
constants from enums.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -133,6 +133,13 @@ with all sufficient information, see the ChangeLog file or Redmine * New constants: * RbConfig::LIMITS is added to provide the limits of C types. +* Ripper + * New method: + * Ripper#state is added to tell the state of scanner. [Feature #13686] + + * New constants: + * Ripper::EXPR_BEG and so on for Ripper#state. + * Set * Add Set#to_s as alias to #inspect [Feature #13676] |