GNU bug report logs -
#23944
CC Mode 5.33 (C++); indent problem with cout
Previous Next
Reported by: Frank Haun <fh <at> fhaun.de>
Date: Mon, 11 Jul 2016 12:58:02 UTC
Severity: normal
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi Alan,
On Thu, 14 Jul 2016 13:11:34 +0000, Alan Mackenzie wrote:
> On Mon, Jul 11, 2016 at 02:57:51PM +0200, Frank Haun wrote:
>
>> I get wrong indent after cout. It happens when last char in the cout
>> string is an ":" or "?".
>
>> #include <iostream>
>> using namespace std;
>> int main()
>> {
>> cout << "Hello:";
>> // comment
>> }
>
> The problem here was a typo in a change a fortnight or so ago. I think
> I have corrected it in the Emacs savannah repository, master branch,
> with the following commit:
>
> commit d0dc74a3a8bc59df3ca88810710d1234a9a08920
> Author: Alan Mackenzie <acm <at> muc.de>
> Date: Thu Jul 14 12:42:17 2016 +0000
>
> I would be grateful if you would update your Emacs,
Done.
> and check in your real code that the bug really is fixed. Please
> confirm that this is the case, or let me know what is still wrong. If
> everything's OK, I can close the bug.
Many thanks, for me it's fixed now.
Best regards,
Frank
This bug report was last modified 9 years and 7 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.