fix Issue 10503 - Octal enums don't work anymore
Merge pull request #2279 from 9rnsr/fix10503

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