Subject: Re: bug#48038: 26.3; Incorrect syntax highlighting in perl-mode

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 27 Apr 2021 03:12:08 +0200

Morten Welinder <[email-masked]> writes:

> 1. Start "emacs -Q" and create a buffer "foo.pl" with the contents
>
> my %h = (foo => 1,
>      q_foo => 2,
>      );
>
> 2. Notice that "q" is coloured black and "_foo" and everything thereafter is
>     coloured red.  Expected is that the whole key is black and that
> the subsequent
>    text is not affected.

I can confirm that this bug is still present in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no