1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-08 06:25:17 +00:00

Merge pull request #2267 from acqn/Diagnostics

[cc65] Removed extra "'}' expected" error message
This commit is contained in:
Bob Andrews
2023-11-26 22:14:30 +01:00
committed by GitHub

View File

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