GNU bug report logs - #6159
23.2; c++ parenthesis matching problem

Previous Next

Packages: emacs, cc-mode;

Reported by: Ertan Dogrultan <e.dogrultan <at> gmail.com>

Date: Mon, 10 May 2010 19:40:03 UTC

Severity: normal

Tags: moreinfo

Found in version 23.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 6159 <at> debbugs.gnu.org, Ertan Dogrultan <e.dogrultan <at> gmail.com>
Subject: bug#6159: 23.2; c++ parenthesis matching problem
Date: Mon, 03 Feb 2014 15:42:49 -0800
Alan Mackenzie <acm <at> muc.de> writes:

> On Mon, May 10, 2010 at 11:58:00AM -0700, Ertan Dogrultan wrote:
>> I do C++ programming on Emacs. When I call methods of a class from an
>> object pointer and write like object->get_value(); The sign '>' is
>> considered like parenthesis and causes indentation mistakes, although
>> the program compiles and executes without any problems. 
>
> this is a known problem with C++.  It takes semantic analysis (i.e. a
> compiler) reliably to distinguish between "greater than" and "close
> template".  However, there are improvements to this being worked on.
>
> Is there any chance you could supply a preferably small but complete
> piece of source code which illustrates the problem?  Does the bug happen
> with every -> operator, or only in certain circumstances?

More information was requested three years ago, but no further progress
has been made, so I'm closing this bug report.  If this problem is still
present, please reopen the bug report.

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




This bug report was last modified 11 years and 164 days ago.

Previous Next


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