unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#45255: cperl-mode doesn't recognise the double diamond operator
@ 2020-12-15 14:20 E. Choroba
  2020-12-15 17:55 ` bug#45255: [PATCH] cperl-mode: Don't mistreat <<>> as starting a here-doc Harald Jörg
  0 siblings, 1 reply; 3+ messages in thread
From: E. Choroba @ 2020-12-15 14:20 UTC (permalink / raw)
  To: 45255

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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-16 15:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-15 14:20 bug#45255: cperl-mode doesn't recognise the double diamond operator E. Choroba
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

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).