diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rwxr-xr-x | tool/transcode-tblgen.rb | 3 |
2 files changed, 9 insertions, 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. diff --git a/tool/transcode-tblgen.rb b/tool/transcode-tblgen.rb index 4895c101e0..fa80ceacf7 100755 --- a/tool/transcode-tblgen.rb +++ b/tool/transcode-tblgen.rb @@ -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 |