summaryrefslogtreecommitdiff
path: root/ext/ripper/lib
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ripper/lib')
-rw-r--r--ext/ripper/lib/ripper/core.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/ext/ripper/lib/ripper/core.rb b/ext/ripper/lib/ripper/core.rb
index f23535f567..3a50a40c83 100644
--- a/ext/ripper/lib/ripper/core.rb
+++ b/ext/ripper/lib/ripper/core.rb
@@ -176,6 +176,10 @@ class Ripper
:int => 1,
:ivar => 1,
:kw => 1,
+ :label => 1,
+ :lambda => 1,
+ :lambda_arg => 1,
+ :lambeg => 1,
:lbrace => 1,
:lbracket => 1,
:lparen => 1,
@@ -816,6 +820,22 @@ class Ripper
token
end
+ def on_label(token)
+ 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