Fixed IllegalStateException when using smart-semicolon to add a new value to an enum with a "Next Id" comment, e.g: message SomeMessage { // Next id: 3 enum SomeEnum { FIRST = 1; SECOND = 2; NEW<insert semicolon> } }