develooper Front page | perl.perl5.porters | Postings from April 2016

Re: [perl #127993] Version control conflict markers

Thread Previous | Thread Next
From:
demerphq
Date:
April 26, 2016 08:38
Subject:
Re: [perl #127993] Version control conflict markers
Message ID:
CANgJU+XwahKxfq1hohnOdhHJ5_kxPar9gKxWA+ooUz1j2PopiA@mail.gmail.com
On 26 April 2016 at 09:04, Ed Avis <perlbug-followup@perl.org> wrote:
> # New Ticket Created by  "Ed Avis"
> # Please include the string:  [perl #127993]
> # in the subject line of all future correspondence about this issue.
> # <URL: https://rt.perl.org/Ticket/Display.html?id=127993 >
>
>
>
> This is a bug report for perl from eda@waniasset.com,
> generated with the help of perlbug 1.40 running under perl 5.22.1.
>
>
> -----------------------------------------------------------------
> [Please describe your issue here]
>
> Sometimes Perl code will appear to compile when there are git conflict
> markers like <<<<<<< in the file.  Or sometimes it gives an error but
> one that doesn't make it clear what the problem really is.
>
> I suggest adding explict detection of <<<<<<< ======= >>>>>>> as
> tokens and making them give an immediate error which stops parsing.
> As usual, this would not catch 100% of all such errors (the conflict
> markers might be inside a here-document, and so on) but it would
> be a great help nonetheless.

++

Yves

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About