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 | 5c644a0d2b71f781dbac2161db00426bfaac7931 (patch) | |
tree | c742cebc6f6a1bc37d74c7a24b9d59b68971afdd /NEWS | |
parent | 9efc535733b59ce1d6c1636b60f03e1912633b1b (diff) | |
download | ruby-5c644a0d2b71f781dbac2161db00426bfaac7931.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] |