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
commit ab0ab8e36f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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