bug-global
[Top][All Lists]
Advanced

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

Re: [PATCH] remove wchar_t from the reservation word list of C.


From: Shigio Yamaguchi
Subject: Re: [PATCH] remove wchar_t from the reservation word list of C.
Date: Mon, 17 Feb 2003 10:18:18 +0900

Committed.
Thank you!

> wchar_t is not a reservation word in C.
> By the way, how about using enum in order to simplify the addition
> and deletion of a reservation word?

I agree with you.
I will rewrite these code using enum in the near future.
 
> Index: gctags/C.c
> ===================================================================
> RCS file: /cvsroot/global/global/gctags/C.c,v
> retrieving revision 1.19
> diff -u -r1.19 C.c
> --- gctags/C.c        28 Jul 2002 12:37:58 -0000      1.19
> +++ gctags/C.c        16 Feb 2003 14:37:49 -0000
> @@ -671,7 +671,6 @@
>       {"unsigned",    C_UNSIGNED},
>       {"void",        C_VOID},
>       {"volatile",    C_VOLATILE},
> -     {"wchar_t",     C_WCHAR_T},
>       {"while",       C_WHILE},
>  };
>  
> Index: gctags/C.h
> ===================================================================
> RCS file: /cvsroot/global/global/gctags/C.h,v
> retrieving revision 1.6
> diff -u -r1.6 C.h
> --- gctags/C.h        5 Jul 2002 07:16:46 -0000       1.6
> +++ gctags/C.h        16 Feb 2003 14:37:49 -0000
> @@ -57,8 +57,7 @@
>  #define C_UNSIGNED   1032
>  #define C_VOID               1033
>  #define C_VOLATILE   1034
> -#define C_WCHAR_T    1035
> -#define C_WHILE              1036
> +#define C_WHILE              1035
>  #define CP_ELIF              2001
>  #define CP_ELSE              2002
>  #define CP_DEFINE    2003
> 
> ----
> Hideki IWAMOTO  address@hidden
> 
> 
> _______________________________________________
> Bug-global mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-global
> 
> 
--
Shigio Yamaguchi <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3





reply via email to

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