[ERROR]
In a for directive, a = was expected.
FOR j := $1000 TO $1003
DC.W j
ENDFOR
Just use an equal in the example (no colon).
FOR j = $1000 TO $1003
DC.W j
ENDFOR
Check that the Option -Compat=b is enabled.