[REG2.064a] Issue 10503 - Octal enums don't work anymore

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