GNU bug report logs -
#6159
23.2; c++ parenthesis matching problem
Previous Next
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
Hi, Ertan,
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?
> Ertan
--
Alan Mackenzie (Nuremberg, Germany).
This bug report was last modified 11 years and 165 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.