made platforms file validation stricter / added missing `bool` elements (#4747)
This commit is contained in:
parent
7eb1da9ffc
commit
ea617553a6
|
@ -3,6 +3,7 @@
|
||||||
<char_bit>8</char_bit>
|
<char_bit>8</char_bit>
|
||||||
<default-sign>unsigned</default-sign>
|
<default-sign>unsigned</default-sign>
|
||||||
<sizeof>
|
<sizeof>
|
||||||
|
<bool>1</bool>
|
||||||
<short>2</short>
|
<short>2</short>
|
||||||
<int>4</int>
|
<int>4</int>
|
||||||
<long>8</long>
|
<long>8</long>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<char_bit>8</char_bit>
|
<char_bit>8</char_bit>
|
||||||
<default-sign>unsigned</default-sign>
|
<default-sign>unsigned</default-sign>
|
||||||
<sizeof>
|
<sizeof>
|
||||||
|
<bool>1</bool>
|
||||||
<short>2</short>
|
<short>2</short>
|
||||||
<int>4</int>
|
<int>4</int>
|
||||||
<long>4</long>
|
<long>4</long>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<char_bit>8</char_bit>
|
<char_bit>8</char_bit>
|
||||||
<default-sign>unsigned</default-sign>
|
<default-sign>unsigned</default-sign>
|
||||||
<sizeof>
|
<sizeof>
|
||||||
|
<bool>1</bool>
|
||||||
<short>2</short>
|
<short>2</short>
|
||||||
<int>4</int>
|
<int>4</int>
|
||||||
<long>4</long>
|
<long>4</long>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<char_bit>8</char_bit>
|
<char_bit>8</char_bit>
|
||||||
<default-sign>unsigned</default-sign>
|
<default-sign>unsigned</default-sign>
|
||||||
<sizeof>
|
<sizeof>
|
||||||
|
<bool>1</bool>
|
||||||
<short>2</short>
|
<short>2</short>
|
||||||
<int>4</int>
|
<int>4</int>
|
||||||
<long>4</long>
|
<long>4</long>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<char_bit>8</char_bit>
|
<char_bit>8</char_bit>
|
||||||
<default-sign>unsigned</default-sign>
|
<default-sign>unsigned</default-sign>
|
||||||
<sizeof>
|
<sizeof>
|
||||||
|
<bool>1</bool>
|
||||||
<short>2</short>
|
<short>2</short>
|
||||||
<int>4</int>
|
<int>4</int>
|
||||||
<long>4</long>
|
<long>4</long>
|
||||||
|
|
|
@ -9,43 +9,39 @@
|
||||||
<data type="NCName"/>
|
<data type="NCName"/>
|
||||||
</element>
|
</element>
|
||||||
<element name="sizeof">
|
<element name="sizeof">
|
||||||
<zeroOrMore>
|
<element name="bool">
|
||||||
<choice>
|
<data type="integer"/>
|
||||||
<element name="bool">
|
</element>
|
||||||
<data type="integer"/>
|
<element name="short">
|
||||||
</element>
|
<data type="integer"/>
|
||||||
<element name="short">
|
</element>
|
||||||
<data type="integer"/>
|
<element name="int">
|
||||||
</element>
|
<data type="integer"/>
|
||||||
<element name="int">
|
</element>
|
||||||
<data type="integer"/>
|
<element name="long">
|
||||||
</element>
|
<data type="integer"/>
|
||||||
<element name="long">
|
</element>
|
||||||
<data type="integer"/>
|
<element name="long-long">
|
||||||
</element>
|
<data type="integer"/>
|
||||||
<element name="long-long">
|
</element>
|
||||||
<data type="integer"/>
|
<element name="float">
|
||||||
</element>
|
<data type="integer"/>
|
||||||
<element name="float">
|
</element>
|
||||||
<data type="integer"/>
|
<element name="double">
|
||||||
</element>
|
<data type="integer"/>
|
||||||
<element name="double">
|
</element>
|
||||||
<data type="integer"/>
|
<element name="long-double">
|
||||||
</element>
|
<data type="integer"/>
|
||||||
<element name="long-double">
|
</element>
|
||||||
<data type="integer"/>
|
<element name="pointer">
|
||||||
</element>
|
<data type="integer"/>
|
||||||
<element name="pointer">
|
</element>
|
||||||
<data type="integer"/>
|
<element name="size_t">
|
||||||
</element>
|
<data type="integer"/>
|
||||||
<element name="size_t">
|
</element>
|
||||||
<data type="integer"/>
|
<element name="wchar_t">
|
||||||
</element>
|
<data type="integer"/>
|
||||||
<element name="wchar_t">
|
</element>
|
||||||
<data type="integer"/>
|
|
||||||
</element>
|
|
||||||
</choice>
|
|
||||||
</zeroOrMore>
|
|
||||||
</element>
|
</element>
|
||||||
</element>
|
</element>
|
||||||
</start>
|
</start>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<char_bit>8</char_bit>
|
<char_bit>8</char_bit>
|
||||||
<default-sign>unsigned</default-sign>
|
<default-sign>unsigned</default-sign>
|
||||||
<sizeof>
|
<sizeof>
|
||||||
|
<bool>1</bool>
|
||||||
<short>2</short>
|
<short>2</short>
|
||||||
<int>8</int>
|
<int>8</int>
|
||||||
<long>8</long>
|
<long>8</long>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<char_bit>8</char_bit>
|
<char_bit>8</char_bit>
|
||||||
<default-sign>signed</default-sign>
|
<default-sign>signed</default-sign>
|
||||||
<sizeof>
|
<sizeof>
|
||||||
|
<bool>1</bool>
|
||||||
<short>2</short>
|
<short>2</short>
|
||||||
<int>2</int>
|
<int>2</int>
|
||||||
<long>4</long>
|
<long>4</long>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<char_bit>8</char_bit>
|
<char_bit>8</char_bit>
|
||||||
<default-sign>unsigned</default-sign>
|
<default-sign>unsigned</default-sign>
|
||||||
<sizeof>
|
<sizeof>
|
||||||
|
<bool>1</bool>
|
||||||
<short>2</short>
|
<short>2</short>
|
||||||
<int>4</int>
|
<int>4</int>
|
||||||
<long>4</long>
|
<long>4</long>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<char_bit>8</char_bit>
|
<char_bit>8</char_bit>
|
||||||
<default-sign>unsigned</default-sign>
|
<default-sign>unsigned</default-sign>
|
||||||
<sizeof>
|
<sizeof>
|
||||||
|
<bool>1</bool>
|
||||||
<short>2</short>
|
<short>2</short>
|
||||||
<int>4</int>
|
<int>4</int>
|
||||||
<long>8</long>
|
<long>8</long>
|
||||||
|
|
Loading…
Reference in New Issue