Winn I can't, sorry. The one line below is all I copied.
It was the first line and for some reason I couldn't copy the second line.
So, what was the second line?
Fatal: Syntax error, "BEGIN" expected but "end of file" found
Really strange. Was there no source-file in front of this message?
In Lazarus, if you right click the error message, can choose Copy > Copy all shown messages to clipboard.
You'll get the complete/all messages, like:
Compile Project, Target: C:\Users\Rik\AppData\Local\Temp\project1.exe: Exit code 1, Errors: 1
unit1.pas(25,0) Fatal: Syntax error, "BEGIN" expected but "end of file" found
No there was no source in front of the errors. Which was strange.
I could right click on the first error and copy but not on the second line.
"unit1.pas(25,0) Fatal: Syntax error, "BEGIN" expected but "end of file" found"
indicate the error is in unit1.pas(25,0) Line 25 is a comment. Everything is a comment in unit1.pas.