summaryrefslogtreecommitdiff
path: root/ext/ripper/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-05 13:29:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-05 13:29:01 +0000
commit768e6c1328a77295d1c5b6c53175b511ec073ee6 (patch)
tree1f1ffbab52aeaeb31fbf320a01b24a779833f186 /ext/ripper/lib
parentdf27d91fc4de9215d6af58de191b2c105ef88678 (diff)
* parse.y (stmt, mlhs_node, lhs, arg, method_call): aref_args might be
nothing. fixed: [ruby-dev:26952] * ext/ripper/eventids2.c: added new tokens. fixed: [ruby-dev:26952] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 f23535f..3a50a40 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