Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How ANSI can we assume C?
- X-seq: zsh-workers 20849
- From: Andrey Borzenkov <arvidjaar@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: How ANSI can we assume C?
- Date: Wed, 23 Feb 2005 12:42:25 +0300
- In-reply-to: <200502231223.08125.arvidjaar@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200502231223.08125.arvidjaar@xxxxxxxxxx>
On Wednesday 23 February 2005 12:23, Andrey Borzenkov wrote:
> As long as widechar support remains conditional, defining wide/non-wide
> versions really becomes nightmare.
>
> Specifically I'd like simply use
>
> #define ZWC(c) L ## c (or even L ## 'c')
^^^^^^^^^^^^^^^^^ nope, bad idea
>
> and use it everyhere. It is much easier to use than inventing obscure names
> for characters.
>
And it also allows wide strings in place which is fast impossible otherwise
without tons of ifdef
Messages sorted by:
Reverse Date,
Date,
Thread,
Author