summaryrefslogtreecommitdiff
path: root/ext/ripper/lib
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-19 05:50:17 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-19 05:50:17 +0000
commitae860f9a569206fff8c1372ef21dc6ac88ad3215 (patch)
tree00b71ebc39d4a599a403c88eddb8d44abdcdd020 /ext/ripper/lib
parentdfd45277d09d7126898d4929a81ae2f7c39dea48 (diff)
* ext/ripper/eventids2.c: add prefix `t' to lambda related lexer events.
* ext/ripper/lib/ripper/core.rb: updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/ripper/lib')
-rw-r--r--ext/ripper/lib/ripper/core.rb30
1 files changed, 15 insertions, 15 deletions
diff --git a/ext/ripper/lib/ripper/core.rb b/ext/ripper/lib/ripper/core.rb
index b16f465..6f2d8d1 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