This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] c-parser.c: Remove N_C_TTYPES.


Hi,

Attached is a patch to remove N_C_TTYPES as it has been unused ever
since c-parser.c was added into CVS.

Tested on i686-pc-linux-gnu.  OK to apply?

Kazu Hirata

2005-04-16  Kazu Hirata  <kazu@cs.umass.edu>

	* c-parser.c (N_C_TTYPES): Remove.

Index: c-parser.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-parser.c,v
retrieving revision 2.9
diff -u -d -p -r2.9 c-parser.c
--- c-parser.c	29 Mar 2005 18:54:32 -0000	2.9
+++ c-parser.c	16 Apr 2005 03:09:37 -0000
@@ -239,9 +239,6 @@ c_parse_init (void)
 /* A keyword.  */
 #define CPP_KEYWORD ((enum cpp_ttype) (N_TTYPES + 1))
 
-/* The number of token types, including C-specific ones.  */
-#define N_C_TTYPES ((int) (CPP_KEYWORD + 1))
-
 /* More information about the type of a CPP_NAME token.  */
 typedef enum c_id_kind {
   /* An ordinary identifier.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]