mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* tool/transcode-tblgen.rb (ActionMap#generate_node):
remove useless dup. * tool/transcode-tblgen.rb (transcode_tbl_only): remove duplicated method call for encode_utf8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
10317605f0
commit
c4636043cc
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
Tue Mar 9 14:57:40 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* tool/transcode-tblgen.rb (ActionMap#generate_node):
|
||||
remove useless dup.
|
||||
|
||||
* tool/transcode-tblgen.rb (transcode_tbl_only): remove duplicated
|
||||
method call for encode_utf8.
|
||||
|
||||
Tue Mar 9 14:55:00 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* re.c (rb_reg_to_s): remove unused variable.
|
||||
|
|
|
@ -454,7 +454,7 @@ End
|
|||
end
|
||||
|
||||
if !name_hint
|
||||
name_hint = "fun_" + NextName.dup
|
||||
name_hint = "fun_" + NextName
|
||||
NextName.succ!
|
||||
end
|
||||
|
||||
|
@ -636,7 +636,6 @@ def transcode_tbl_only(from, to, map)
|
|||
else
|
||||
tree_name = "from_#{id_from}_to_#{id_to}"
|
||||
end
|
||||
map = encode_utf8(map)
|
||||
real_tree_name, max_input = transcode_compile_tree(tree_name, from, map)
|
||||
return map, tree_name, real_tree_name, max_input
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue