fix issue 10561 - anon enum members no longer have enum base type
Merge pull request #2309 from hpohl/10561

[REG2.064a] fix issue 10561 - anon enum members no longer have enum base type