semantic: Correctly handle prevExp assignment for enum decls.