A2503: ENDFOR without FOR

[ERROR]

Description

A ENDFOR without corresponding FOR was found.

Example
  ;  FOR j := $1000 < $1003

     DC.W j

    ENDFOR
  
Tips

Check that every ENDFOR has a corresponding FOR. In the example, remove the semicolon.

    FOR j = $1000 TO $1003

     DC.W j

    ENDFOR
  

Check that the Option -Compat=b is enabled.

See also