Subject: bug#33649: closed (Re: bug#33649: 26.1.50; variable is highlighted as type in c++ mode)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 10 Dec 2018 12:26:01 +0000

Your bug report

#33649: 26.1.50; variable is highlighted as type in c++ mode

which was filed against the emacs,cc-mode package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
33649: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33649
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#33649: 26.1.50; variable is highlighted as type in c++ mode
From: Alan Mackenzie <[email-masked]>
To: Shanavas <[email-masked]>
Cc: [email-masked]
Date: Mon, 10 Dec 2018 12:20:39 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello, Shanavas.

On Mon, Dec 10, 2018 at 13:12:54 +0530, Shanavas wrote:
> Thanks, Works great.

Thank you for the testing!

> Please apply appropriate patch to emacs-26 branch too.

I've applied the patch to the emacs-26 branch.  It will filter through
to the master branch in due course when "somebody" activates the
movement of bug fixes from emacs-26 to master.

I'm closing the bug, now.

> -- 
> ഷാനവാസ്
> Sent from my Android device with K-9 Mail.

-- 
Alan Mackenzie (Nuremberg, Germany).

Subject: 26.1.50; variable is highlighted as type in c++ mode
From: Shanavas <[email-masked]>
To: [email-masked]
Date: Thu, 06 Dec 2018 16:51:41 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

For the following snippet,

```
int a = 9;
func(a);
func(a * 9);
```
`a` is highlighted differently in two function calls.
In `func(a)` it is highlighted as a variable where in `func(a * 9)` it is highlighted as a type.

Major mode: C++//l
-- 
ഷാനവാസ്
Sent from my Android device with K-9 Mail.