made platforms file validation stricter / added missing `bool` elements (#4747)

This commit is contained in:
Oliver Stöneberg 2023-01-27 08:34:12 +01:00 committed by GitHub
parent 7eb1da9ffc
commit ea617553a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 42 additions and 37 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -9,8 +9,6 @@
<data type="NCName"/> <data type="NCName"/>
</element> </element>
<element name="sizeof"> <element name="sizeof">
<zeroOrMore>
<choice>
<element name="bool"> <element name="bool">
<data type="integer"/> <data type="integer"/>
</element> </element>
@ -44,8 +42,6 @@
<element name="wchar_t"> <element name="wchar_t">
<data type="integer"/> <data type="integer"/>
</element> </element>
</choice>
</zeroOrMore>
</element> </element>
</element> </element>
</start> </start>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>