Why are we writing code like this?
struct font_driver const nsfont_driver =
{
type: LISPSYM_INITIALLY (Qns),
case_sensitive: true,
...
};
and not like this?
struct font_driver const nsfont_driver =
{
.type = LISPSYM_INITIALLY (Qns),
.case_sensitive = true,
...
};
The former is a deprecated GCC extension. The latter is the standard.
We need C99 these days anyway.
Probably just an accident. There doesn't seem to be a ban on C99 designated initializers; for example, I've added some to emacs-module.c