Parse inner enum declarations.