[fpc-devel] Unhelpful error message

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Dec 2 14:49:37 CET 2012


On Sun, 02 Dec 2012 11:46:54 +0000
Mark Morgan Lloyd <markMLl.fpc-devel at telemetry.co.uk> wrote:

> I've just had a slight problem compiling Lazarus where FPC was reporting 
> this:
> 
> main.pp(5001,1) Fatal: Syntax error, "BEGIN" expected but "shl" found
> 
> The reason was that I'd not spotted that Subversion had inserted a like like
> 
> <<<<< Mine:
> 
> preceding a function. Is this something that the compiler could detect 
> and warn about?

It seems it just did?
What error message do you expect?

Mattias




More information about the fpc-devel mailing list