Vaughan McAlley <vaug...@mcalley.net.au> writes: > On 11 Jan 2018 3:00 a.m., "David Kastrup" <d...@gnu.org> wrote: > > omit { } which can only be used around sequential music, not post events. > > > So the “If in doubt, put curly brackets around it” rule doesn't always > work
I wasn't aware of any such rule in LilyPond. Even in C, macros tend to prefer putting do { ... } while (0) around stuff so that #define BLA(x) do { ++x; ++x; } while (0) if (1) BLA (x); else BLA (y); works without "unexpected else" errors. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user