GNU bug report logs - #33649
26.1.50; variable is highlighted as type in c++ mode

Previous Next

Packages: cc-mode, emacs;

Reported by: Shanavas <shanavas.m2 <at> gmail.com>

Date: Thu, 6 Dec 2018 15:29:02 UTC

Severity: minor

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Shanavas <shanavas.m2 <at> gmail.com>
Subject: bug#33649: closed (Re: bug#33649: 26.1.50; variable is
 highlighted as type in c++ mode)
Date: Mon, 10 Dec 2018 12:26:01 +0000
[Message part 1 (text/plain, inline)]
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 33649 <at> debbugs.gnu.org.

-- 
33649: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33649
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Alan Mackenzie <acm <at> muc.de>
To: Shanavas <shanavas.m2 <at> gmail.com>
Cc: 33649-done <at> debbugs.gnu.org
Subject: Re: bug#33649: 26.1.50; variable is highlighted as type in c++ mode
Date: Mon, 10 Dec 2018 12:20:39 +0000
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).

[Message part 3 (message/rfc822, inline)]
From: Shanavas <shanavas.m2 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1.50; variable is highlighted as type in c++ mode
Date: Thu, 06 Dec 2018 16:51:41 +0530
[Message part 4 (text/plain, inline)]
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.
[Message part 5 (text/html, inline)]

This bug report was last modified 6 years and 215 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.