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

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

bug#45255: cperl-mode doesn't recognise the double diamond operator


From: E. Choroba
Subject: bug#45255: cperl-mode doesn't recognise the double diamond operator
Date: Tue, 15 Dec 2020 15:20:13 +0100 (CET)
User-agent: Alpine 2.21 (LSU 202 2017-01-01)

Perl 5.22 added the new form of the diamond operator <<>> (which uses the
three argument version of open under the hood).

Unfortunately, cperl-mode doesn't recognise it and treats it as a HERE-doc
start:

while (<<>>) {
This is displayed in the font-lock-string-face.
The here document ends with an empty line.
Pressing Tab doesn't indent the code.

Ch.





reply via email to

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