Merge pull request #2267 from acqn/Diagnostics
[cc65] Removed extra "'}' expected" error message
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user