Hello all,
I got the same issue for a while now (but with 3 lines).
It does not want to compile showing that error.
The workaround is to add and then delete a line for example (anywhere in the code and because 3 lines show the error, I have to do this 3 times), then it compiles correctly...
Very weird bug.
Cleaning all and installing again lazarus makes it work for some time, then it starts again to show that error...
Many thanks for this info.
I had also this error and I have installed many times all from scratch. But no luck, the error occurs again.
I use Lazarus 2.2.0 x64 on Win7.
After add a new line and delete them, all works fine.