summaryrefslogtreecommitdiff
path: root/tool/transcode-tblgen.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-06 13:42:21 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-06 13:42:21 +0000
commite22b3b773dfda0c1136c11d25376587c5fce60f9 (patch)
tree90eb73408735c88921b01fa821934873a5d4752e /tool/transcode-tblgen.rb
parent7d072e2ba4c318fdd97bfcd093e160efdb8dc03d (diff)
* tool/transcode-tblgen.rb (transcode_generate_node): code
argument removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/transcode-tblgen.rb')
-rw-r--r--tool/transcode-tblgen.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/tool/transcode-tblgen.rb b/tool/transcode-tblgen.rb
index 4dc2d67f34..bdc8752f50 100644
--- a/tool/transcode-tblgen.rb
+++ b/tool/transcode-tblgen.rb
@@ -415,9 +415,11 @@ End
tree_code + "\n" + transcoder_code
end
-def transcode_generate_node(am, code, name_hint=nil, ranges=[])
+def transcode_generate_node(am, name_hint=nil, ranges=[])
STDERR.puts "converter for #{name_hint}" if VERBOSE_MODE
+ code = ''
am.generate_node(code, name_hint, ranges)
+ code
end
def transcode_register_code