core.consts: An edge case in enum decleration made my script lose quite a few of these. Fixed.