* tool/transcode-tblgen.rb: don't need to cast offsets array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7908180df1
commit
3b090adf7c
@ -1,3 +1,7 @@
|
|||||||
|
Tue Sep 2 02:48:30 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* tool/transcode-tblgen.rb: don't need to cast offsets array.
|
||||||
|
|
||||||
Tue Sep 2 02:36:20 2008 Tanaka Akira <akr@fsij.org>
|
Tue Sep 2 02:36:20 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* tool/transcode-tblgen.rb: record offsets array as index of
|
* tool/transcode-tblgen.rb: record offsets array as index of
|
||||||
|
@ -370,7 +370,7 @@ End
|
|||||||
words_code.sub!(/^(\};\n\z)/) {
|
words_code.sub!(/^(\};\n\z)/) {
|
||||||
"\#define #{name} ((uintptr_t)(word_array+#{size}))\n" +
|
"\#define #{name} ((uintptr_t)(word_array+#{size}))\n" +
|
||||||
<<"End" + "\n" + $1
|
<<"End" + "\n" + $1
|
||||||
(uintptr_t)#{offsets_name},
|
#{offsets_name},
|
||||||
#{infos_name},
|
#{infos_name},
|
||||||
End
|
End
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user