Either loop round the entire switch if possible or duplicate the loop in each one (I would move the ?: out into a temporary variable in that case).
On Mon, Feb 15, 2010 at 02:06:58AM -0800, Micah Cowan wrote: > Nicholas Marriott wrote: > > I'll look at all your diffs in detail later tonight but I can tell you now > > there is no way a macro like this is going in :-). > > Better suggestion, then? ...I could dupe the for-loop a buncha times, > but the macro looks cleaner to my eyes. > > Or did you just mean the first, much uglier version? > > -- > Micah J. Cowan > http://micah.cowan.name/ ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users