1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-01 13:41:34 +00:00

Removed the extra "'}' expected" error message following a "Excess elements in struct/union initializer" error message.

This commit is contained in:
acqn 2023-11-15 21:17:05 +08:00
parent d7d1d89698
commit f6c3a1b209

View File

@ -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;
} }