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

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 27 Oct 2020 19:35:35 +0100

tastytea <[email-masked]> writes:

> I found a little bug in rainbow-mode 1.0.3. In c-mode and c++-mode it
> colors the “#def” in #define.
>
> Minimal init.el (assuming that rainbow-mode is installed):
> (package-initialize)
> (require 'rainbow-mode)
>
> Minimal C++ example:
> #define XYZ
> int main() {}

I can confirm that the bug is still present in the current ELPA
package.  Perhaps Julien has some insight here?  (Cc'd.)

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