Do not use multiple unnamed structs inside of unions

This commit is contained in:
Riccardo Schirone 2020-04-28 13:38:08 +02:00
parent c393591e1d
commit 780e9cecc9
6 changed files with 56 additions and 42 deletions

View file

@ -1022,7 +1022,7 @@ impl Generator {
for (i, entry) in parse_table_entries {
add!(
self,
" [{}] = {{.count = {}, .reusable = {}}},",
" [{}] = {{ .entry = {{.count = {}, .reusable = {}}} }},",
i,
entry.actions.len(),
entry.reusable