yin parser BUGFIX enum statement appearance check
yin parser BUGFIX enum statement appearance check

Similar as previous bugfix for bits - enum statement(s) can appear only
(and at least one MUST appear) when the type from which it is derived
is built-in enumeration type. When the type is only derived from the
enumerationbits built-in type in more steps, enum statement is prohibited.

lukasmacko/libyang,lukasmacko/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang