typedef struct cp_token GTY (())
{
/* The kind of token. */
ENUM_BITFIELD (cpp_ttype) type : 8;
/* If this token is a keyword, this value indicates
which keyword.
Otherwise, this value is RID_MAX. */
ENUM_BITFIELD (rid) keyword : 8;
/* Token flags. */
unsigned char flags;
/* True if this token is from a system header. */
BOOL_BITFIELD in_system_header : 1;
/* True if this token is from a context where it is
implicitly extern "C" */
BOOL_BITFIELD implicit_extern_c : 1;
/* The value associated with this token, if any. */
tree value;
/* The location at which this token was found. */
location_t location;
} cp_token ;
static cp_lexer *
cp_lexer_new_main (void)
{
cp_token first_token;
cp_lexer *lexer;
cp_token *pos;
size_t alloc;
size_t space;
cp_token *buffer;
/* It's possible that lexing the first token will
load a PCH file,
which is a GC collection point. So we have to
grab the first
token before allocating any memory. Pragmas must
not be deferred
as -fpch-preprocess can generate a pragma to load
the PCH file in
the preprocessed output used by -save-temps. */
cp_lexer_get_preproces
}
Here a Structure is being typedef-ed as cp_token .
Later we are trying to declare a variable of type
cp_token like this...
/************/cp_token first_token;/************/
if i try to find for a token called first_token it is
not being listed.
HOPE U WILL FIX IT.