summaryrefslogtreecommitdiff
path: root/ext/ripper/lib
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-19 05:40:47 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-19 05:40:47 +0000
commit04165c20fe286d3123eff634412bdf871fc9da41 (patch)
tree70d9fe8a6b688bfd6d66445bba62abf2985ee712 /ext/ripper/lib
parent1e63c302db089512f5376ee7778943b662b53d84 (diff)
* parse.y (do_block): do_block event dispatches 2 args. [ruby-dev:26964]
* ext/ripper/lib/ripper/core.rb: updated. * ext/ripper/tools/list-parser-event-ids.rb: check arity mismatch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/ripper/lib')
-rw-r--r--ext/ripper/lib/ripper/core.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/ripper/lib/ripper/core.rb b/ext/ripper/lib/ripper/core.rb
index 3a50a40..b16f465 100644
--- a/ext/ripper/lib/ripper/core.rb
+++ b/ext/ripper/lib/ripper/core.rb
@@ -61,7 +61,6 @@ class Ripper
:def => 3,
:defined => 1,
:defs => 5,
- :do_block => 1,
:do_block => 2,
:dot2 => 2,
:dot3 => 2,
@@ -388,10 +387,6 @@ class Ripper
a
end
- def on_do_block(a)
- a
- end
-
def on_do_block(a, b)
a
end