bug-global
[Top][All Lists]
Advanced

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

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


From: Hideki IWAMOTO
Subject: [PATCH] remove wchar_t from the reservation word list of C.
Date: Sun, 16 Feb 2003 23:53:55 +0900

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?


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




reply via email to

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