summaryrefslogtreecommitdiff
path: root/tool/transcode-tblgen.rb
diff options
context:
space:
mode:
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 4dc2d67f347..bdc8752f50e 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