NPP060: Statement Label duplicated

NPP060: Statement Label duplicated

type: bug
priority: blocker

#compile-time

Description

A statement label has to be unique within a module.

This leads to a compile error:

F1. FOR #I := 1 TO 10
IGNORE
END-FOR

F1. FOR #I := 1 TO 10
IGNORE
END-FOR

To fix this, you’d have to change one label.

F1. FOR #I := 1 TO 10
IGNORE
END-FOR

/* Label changed
F2. FOR #I := 1 TO 10
IGNORE
END-FOR