commit | 8caf425381fbe91bd9fc91829669545813d79609 | [log] [tgz] |
---|---|---|
author | cushon <cushon@google.com> | Thu Aug 25 13:59:40 2016 -0700 |
committer | Liam Miller-Cushon <cushon@google.com> | Thu Sep 15 16:08:12 2016 -0700 |
tree | da4a2be2593ca43aa4f05e6d3e5398ce31585840 | |
parent | 80f4e9191630051ac741ce466d8954237430f949 [diff] |
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