The following error occurs when adding a new enumeration value to an enumeration class written by others:
The main reason is that commas must be used to separate enumeration instances, and a semicolon is required for the last one.
The problem was successfully solved after changing the semicolon to a comma :