[enh] fix issue 10965 - Allow alias initializer as enum member to avoid counter reset

http://d.puremagic.com/issues/show_bug.cgi?id=10965