Subject: bug#39578: 27.0.50; [rainbow-mode] #define is colored in c++-mode

From: Julien Danjou <[email-masked]>
Date: Fri, 30 Oct 2020 16:53:05 +0100

On Fri, Oct 30 2020, Lars Ingebrigtsen wrote:

> It seems like a more general problem to me.  That is, "#def" should be
> colourized, but "#defi" should not?
>
> So would checking for a word boundary after the regexp be sufficient?
> Or are there places where #000000foobar makes sense and we really want
> to colourize that #000000 bit?

It might be. It's hard to say since I don't have a good memory and there
is no unit test. :(

-- 
Julien Danjou
/* Free Software hacker
   https://julien.danjou.info */