mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
d83b47646e
Union branch names should use '-', not '_'. Enforce this. The only offenders are in tests/. Fix them. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20210323094025.3569441-29-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> [Commit message typo fixed]
8 lines
316 B
JSON
8 lines
316 B
JSON
# Alternate branch name collision
|
|
# Naming rules make collision impossible (even with the pragma). If
|
|
# that wasn't the case, then we'd get a collision in generated C: two
|
|
# union members a_b.
|
|
{ 'pragma': { 'member-name-exceptions': [ 'Alt1' ] } }
|
|
{ 'alternate': 'Alt1',
|
|
'data': { 'a-b': 'bool', 'a_b': 'int' } }
|