fix issue 10503 -  Octal enums don't work anymore