unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "E. Choroba" <choroba@matfyz.cz>
To: 45255@debbugs.gnu.org
Subject: bug#45255: cperl-mode doesn't recognise the double diamond operator
Date: Tue, 15 Dec 2020 15:20:13 +0100 (CET)	[thread overview]
Message-ID: <alpine.LSU.2.21.2012151503070.5258@triangle> (raw)

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	other threads:[~2020-12-15 14:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-15 14:20 E. Choroba [this message]
2020-12-15 17:55 ` bug#45255: [PATCH] cperl-mode: Don't mistreat <<>> as starting a here-doc Harald Jörg
2020-12-16 15:39   ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LSU.2.21.2012151503070.5258@triangle \
    --to=choroba@matfyz.cz \
    --cc=45255@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).