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>
|
||||
<default-sign>unsigned</default-sign>
|
||||
<sizeof>
|
||||
<bool>1</bool>
|
||||
<short>2</short>
|
||||
<int>4</int>
|
||||
<long>8</long>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<char_bit>8</char_bit>
|
||||
<default-sign>unsigned</default-sign>
|
||||
<sizeof>
|
||||
<bool>1</bool>
|
||||
<short>2</short>
|
||||
<int>4</int>
|
||||
<long>4</long>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<char_bit>8</char_bit>
|
||||
<default-sign>unsigned</default-sign>
|
||||
<sizeof>
|
||||
<bool>1</bool>
|
||||
<short>2</short>
|
||||
<int>4</int>
|
||||
<long>4</long>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<char_bit>8</char_bit>
|
||||
<default-sign>unsigned</default-sign>
|
||||
<sizeof>
|
||||
<bool>1</bool>
|
||||
<short>2</short>
|
||||
<int>4</int>
|
||||
<long>4</long>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<char_bit>8</char_bit>
|
||||
<default-sign>unsigned</default-sign>
|
||||
<sizeof>
|
||||
<bool>1</bool>
|
||||
<short>2</short>
|
||||
<int>4</int>
|
||||
<long>4</long>
|
||||
|
|
|
@ -9,43 +9,39 @@
|
|||
<data type="NCName"/>
|
||||
</element>
|
||||
<element name="sizeof">
|
||||
<zeroOrMore>
|
||||
<choice>
|
||||
<element name="bool">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="short">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="int">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="long">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="long-long">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="float">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="double">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="long-double">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="pointer">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="size_t">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="wchar_t">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
</choice>
|
||||
</zeroOrMore>
|
||||
<element name="bool">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="short">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="int">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="long">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="long-long">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="float">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="double">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="long-double">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="pointer">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="size_t">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
<element name="wchar_t">
|
||||
<data type="integer"/>
|
||||
</element>
|
||||
</element>
|
||||
</element>
|
||||
</start>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<char_bit>8</char_bit>
|
||||
<default-sign>unsigned</default-sign>
|
||||
<sizeof>
|
||||
<bool>1</bool>
|
||||
<short>2</short>
|
||||
<int>8</int>
|
||||
<long>8</long>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<char_bit>8</char_bit>
|
||||
<default-sign>signed</default-sign>
|
||||
<sizeof>
|
||||
<bool>1</bool>
|
||||
<short>2</short>
|
||||
<int>2</int>
|
||||
<long>4</long>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<char_bit>8</char_bit>
|
||||
<default-sign>unsigned</default-sign>
|
||||
<sizeof>
|
||||
<bool>1</bool>
|
||||
<short>2</short>
|
||||
<int>4</int>
|
||||
<long>4</long>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<char_bit>8</char_bit>
|
||||
<default-sign>unsigned</default-sign>
|
||||
<sizeof>
|
||||
<bool>1</bool>
|
||||
<short>2</short>
|
||||
<int>4</int>
|
||||
<long>8</long>
|
||||
|
|
Loading…
Reference in New Issue