COBCH1750 keyword not allowed with iterators

The program contains the keyword specified in an iterator declaration. This is not allowed.

Resolution:

Modify the code to relocate the keyword outside of the iterator declaration or otherwise modify the offending keyword; then recompile.

Example:

In the following example, an illegal keyword is specified in an iterator declaration.

       class-id a abstract.
       iterator-id MyIterator abstract yielding s as string.
       end iterator.
       end class.