pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pre-lexer-2 1/4] command: Factor command name matching out of comma


From: Ben Pfaff
Subject: Re: [pre-lexer-2 1/4] command: Factor command name matching out of command.c.
Date: Sun, 26 Sep 2010 12:50:15 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

John Darrington <address@hidden> writes:

> On Sun, Sep 26, 2010 at 06:46:34AM -0700, Ben Pfaff wrote:
>      
>      "char" is special.  There are three distinct character types:
>      char, signed char, and unsigned char.
>
> Thanks.  I didn't know that.  Is this specific to gcc or is it in C99 ?

It's even in C89.

>      > Also, the Gtk/Glib functions use plain char for UTF8 strings,
>
> Actually, that's not literally true.  The functions are declared to 
> take gchar *.  Glib then typedefs gchar to char.  Perhaps with some
> devious hack we could make gchar into something else, but I'm not 
> too sure how wise it would be to do that.

I think it would be a bad idea.

We seem somewhat stuck then.
-- 
Ben Pfaff 
http://benpfaff.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]