mirror of
https://github.com/cc65/cc65.git
synced 2025-08-09 13:25:06 +00:00
Removed the extra "'}' expected" error message following a "Excess elements in struct/union initializer" error message.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user