Hello Emacs and XEmacs.
I've got a knotty problem with a C Mode bug report: The use of a macro
in a typedef definition causes the following line to be parsed as a K&R
parameter. The actual code is this:
#define G(symbol) pieni_ ## symbol
typedef struct G(foobar) *G(foobar_t);
typedef int lahna; <=========== K&R
Solving this bug is difficult. One way would be just to disable K&R in
C Mode, except when explicitly enabled by the user. After all, K&R
parameters have been obsolete for over 10 years now.
The key sequnce to toggle it would be C-c C-k.
Can anybody think up any reasons why this would be a Bad Thing. Does
anybody feel particularly strongly about this?
Alan Mackenzie (Nuremberg, Germany).
XEmacs-Beta mailing list