GNU bug report logs -
#7930
24.0.50; Indentation problem in C-mode
Previous Next
Reported by: Michael Welsh Duggan <mwd <at> cert.org>
Date: Thu, 27 Jan 2011 18:55:01 UTC
Severity: normal
Found in version 24.0.50
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
I now can recreate this problem, although not minimally.
Using the included file pdusource.c:
emacs -Q pdusource.c
M-g g 549 RET
TAB
This will cause the wrong-type-argument error. A bisection shows that
this error was introduced in commit 191882,
acm <at> muc.de-20101009195828-ajo6zapkxu8oluwz:
Enhance fontification of declarators to take account of the
presence/absence of "typedef".
cc-engine.el (c-forward-type): New &optional param "brace-block-too".
(c-forward-decl-or-cast-1): cdr of return value now indicates the
presence of either or both of a "struct"-like keyword and "typedef".
cc-fonts.el (c-complex-decl-matchers): Remove the heuristic fontification
of declarators which follow a "}".
(c-font-lock-declarations): Fontify declarators according to the
presence/absence of "typedef".
cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable for
"typedef".
(c-typedef-decl-key): New lang variable built from c-typedef-decl-kwds.
--
Michael Welsh Duggan
(mwd <at> cert.org)
This bug report was last modified 14 years and 154 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.