This compiler error will occur if, after a valid compiler directive, there is additional (spurious) text that should not be there.
For example:
MAX_NUM_ITERATIONS 366 /make sure it runs a full year
var
begin
// some code
end
This usually happens if you add a comment to the end of the line (which is allowed), but either forget to add the "//" before the comment, or (as is the case above) accidentally delete one of the "/", presumably when modifying the comment's text.
Topic 108283, last updated on 18-Apr-2020