зеркало из https://github.com/github/ruby.git
* tool/transcode-tblgen.rb: check unexpected actions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
bd9bd52954
Коммит
be51387d55
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Aug 14 20:52:55 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* tool/transcode-tblgen.rb: check unexpected actions.
|
||||||
|
|
||||||
Thu Aug 14 20:25:52 2008 Tanaka Akira <akr@fsij.org>
|
Thu Aug 14 20:25:52 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* transcode_data.h (transcode_invalid_byte_sequence): renamed from
|
* transcode_data.h (transcode_invalid_byte_sequence): renamed from
|
||||||
|
|
|
@ -274,8 +274,10 @@ class ActionMap
|
||||||
"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([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
|
||||||
"o4(0x#$1,0x#$2,0x#$3,0x#$4)"
|
"o4(0x#$1,0x#$2,0x#$3,0x#$4)"
|
||||||
else
|
when /\A&/ # pointer to BYTE_LOOKUP structure
|
||||||
info.to_s
|
info.to_s
|
||||||
|
else
|
||||||
|
raise "unexpected action: #{info.inspect}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче