diff options
Diffstat (limited to 'ext/ripper/lib')
-rw-r--r-- | ext/ripper/lib/ripper/core.rb | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/ext/ripper/lib/ripper/core.rb b/ext/ripper/lib/ripper/core.rb index b16f465c34..6f2d8d18c3 100644 --- a/ext/ripper/lib/ripper/core.rb +++ b/ext/ripper/lib/ripper/core.rb @@ -176,9 +176,6 @@ class Ripper :ivar => 1, :kw => 1, :label => 1, - :lambda => 1, - :lambda_arg => 1, - :lambeg => 1, :lbrace => 1, :lbracket => 1, :lparen => 1, @@ -194,6 +191,9 @@ class Ripper :semicolon => 1, :sp => 1, :symbeg => 1, + :tlambda => 1, + :tlambda_arg => 1, + :tlambeg => 1, :tstring_beg => 1, :tstring_content => 1, :tstring_end => 1, @@ -819,18 +819,6 @@ class Ripper token end - def on_lambda(token) - token - end - - def on_lambda_arg(token) - token - end - - def on_lambeg(token) - token - end - def on_lbrace(token) token end @@ -891,6 +879,18 @@ class Ripper token end + def on_tlambda(token) + token + end + + def on_tlambda_arg(token) + token + end + + def on_tlambeg(token) + token + end + def on_tstring_beg(token) token end |