Skip to content

Commit

Permalink
Merge pull request cc65#2267 from acqn/Diagnostics
Browse files Browse the repository at this point in the history
[cc65] Removed extra "'}' expected" error message
  • Loading branch information
mrdudz authored Nov 26, 2023
2 parents e6c8f89 + f6c3a1b commit ab0ab8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cc65/initdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ab0ab8e

Please sign in to comment.