[fpc-devel] Unhelpful error message

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Sun Dec 2 12:46:54 CET 2012


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?

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-devel mailing list