bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65834: 29.1; highlighting bug in CPerl mode: here-document false pos


From: Stefan Kangas
Subject: bug#65834: 29.1; highlighting bug in CPerl mode: here-document false positive
Date: Sun, 10 Sep 2023 00:45:37 -0700

Vincent Lefevre <vincent@vinc17.net> writes:

> Open a file containing the following code, in CPerl mode:
>
> # -*- mode: cperl -*-
> if ($t->[3]<<5) {
>   return 0;
> }
> # comment
>
> The contents are highlighted like a here-document starting at
> "return 0;" probably due to the "<<" (but this is a left shift,
> not a here-document declaration).
>
> GNU Emacs 27.1, 28.2 and 29.1 are affected.
>
> Note: I initially found when reading the "mailgraph" Perl script.

Copying in Harald Jörg.

> In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38,
>  cairo version 1.16.0) of 2023-08-30, modified by Debian built on
>  x86-csail-01
> Windowing system distributor 'The X.Org Foundation', version 11.0.12101008
> System Description: Debian GNU/Linux trixie/sid





reply via email to

[Prev in Thread] Current Thread [Next in Thread]