mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* tool/transcode-tblgen.rb: o4 is usable only if the first byte is
f0-f7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a0d163da71
commit
78543725eb
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Sep 7 17:29:49 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* tool/transcode-tblgen.rb: o4 is usable only if the first byte is
|
||||||
|
f0-f7.
|
||||||
|
|
||||||
Sun Sep 7 12:44:26 2008 Tanaka Akira <akr@fsij.org>
|
Sun Sep 7 12:44:26 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* io.c (make_writeconv): choose ASCII compatible encoding as
|
* io.c (make_writeconv): choose ASCII compatible encoding as
|
||||||
|
|
|
@ -299,7 +299,7 @@ class ActionMap
|
||||||
"o2(0x#$1,0x#$2)"
|
"o2(0x#$1,0x#$2)"
|
||||||
when /\A([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])\z/i
|
when /\A([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])\z/i
|
||||||
"o3(0x#$1,0x#$2,0x#$3)"
|
"o3(0x#$1,0x#$2,0x#$3)"
|
||||||
when /\A([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])\z/i
|
when /\A(f[0-7])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])\z/i
|
||||||
"o4(0x#$1,0x#$2,0x#$3,0x#$4)"
|
"o4(0x#$1,0x#$2,0x#$3,0x#$4)"
|
||||||
when /\A\/\*BYTE_LOOKUP\*\// # pointer to BYTE_LOOKUP structure
|
when /\A\/\*BYTE_LOOKUP\*\// # pointer to BYTE_LOOKUP structure
|
||||||
$'.to_s
|
$'.to_s
|
||||||
|
|
Loading…
Reference in a new issue