[Geany] [PATCH] Fixes for warnings and portability
Jeff Pohlmeyer
yetanothergeek at xxxxx
Wed Feb 20 12:53:51 UTC 2008
> > > > * prefs.c: No comma after that last entry.
> > >
> > > Oops, I recently started doing that to avoid the extra comma change in
> > > diffs when appending items. Ah well, another thing to leave out until
> > > I'm D programming.
> >
> > Good point, about the diffs. I suppose you could do something like
> >
> > enum {
> > FOO
> > , BAR
> > , BAZ
> > }
> Bahh, this is ugly. Even worse than having the additional line in a
> diff because of the comma.
How about something like this:
enum {
FOO,
BAR,
BAZ,
FBZ_LAST /* must be last*/
}
- Jeff
More information about the Users
mailing list