Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added "enumInverseMap" following "enumDirectMap".
"enumToInt" didn't take the fully qualified path of an ENUM into account when rendering usage of the associated inverse map. If that map needed to be accessed in some external KSY compared to where the map is hosted, things failed because the map was wrongly assumed to be in the KSY where it is used. This commit changes "I__ENUM" to "Class::I__ENUM" following what has been available already as "enumDirectMap". This fixes kaitai-io/kaitai_struct#552.
- Loading branch information