Fix an enum constant parsing bug

The parser records whether enum constants have bodies by setting
ENUM_IMPL, but it was stickily setting the flag for all constants after
the first one with a body. An earlier version of the parser represented
the flags as a bitset, which prevented the accidental mutation.

MOE_MIGRATED_REVID=131327955
2 files changed
tree: da4a2be2593ca43aa4f05e6d3e5398ce31585840
  1. java/
  2. javatests/
  3. pom.xml