[fpc-devel] Unhelpful error message

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Sun Dec 2 15:05:01 CET 2012

Mattias Gaertner wrote:
> 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?

Something that recognises that a message like  <<<<<<< .mine  originates 
from the project's chosen VCS, and that <<<<<<< is distinct from shl.

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