mirror of
https://github.com/cc65/cc65.git
synced 2025-01-03 16:33:19 +00:00
Removed the extra "'}' expected" error message following a "Excess elements in struct/union initializer" error message.
This commit is contained in:
parent
d7d1d89698
commit
f6c3a1b209
@ -497,7 +497,7 @@ static unsigned ParseStructInit (Type* T, int* Braces, int AllowFlexibleMembers)
|
||||
|
||||
if (HasCurly) {
|
||||
Error ("Excess elements in %s initializer", GetBasicTypeName (T));
|
||||
SkipInitializer (HasCurly);
|
||||
SkipInitializer (0);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user