parser.c (cp_lexer_get_preprocessor_token): Initialize keyword field.
* parser.c (cp_lexer_get_preprocessor_token): Initialize keyword field. From-SVN: r106907
This commit is contained in:
parent
63752e29bb
commit
37edf0a6c4
|
@ -1,3 +1,8 @@
|
|||
2005-11-14 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* parser.c (cp_lexer_get_preprocessor_token): Initialize keyword
|
||||
field.
|
||||
|
||||
2005-11-14 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/24580
|
||||
|
|
|
@ -420,7 +420,10 @@ cp_lexer_get_preprocessor_token (cp_lexer *lexer ATTRIBUTE_UNUSED ,
|
|||
token->value = ridpointers[token->keyword];
|
||||
}
|
||||
else
|
||||
token->ambiguous_p = false;
|
||||
{
|
||||
token->ambiguous_p = false;
|
||||
token->keyword = RID_MAX;
|
||||
}
|
||||
}
|
||||
/* Handle Objective-C++ keywords. */
|
||||
else if (token->type == CPP_AT_NAME)
|
||||
|
|
Loading…
Reference in New Issue