mirror of
https://github.com/cc65/cc65.git
synced 2025-01-22 06:30:38 +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) {
|
if (HasCurly) {
|
||||||
Error ("Excess elements in %s initializer", GetBasicTypeName (T));
|
Error ("Excess elements in %s initializer", GetBasicTypeName (T));
|
||||||
SkipInitializer (HasCurly);
|
SkipInitializer (0);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user