Commit 37edf0a6 by Mark Mitchell Committed by Mark Mitchell

parser.c (cp_lexer_get_preprocessor_token): Initialize keyword field.

	* parser.c (cp_lexer_get_preprocessor_token): Initialize keyword
	field.

From-SVN: r106907
parent 63752e29
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> 2005-11-14 Jason Merrill <jason@redhat.com>
PR c++/24580 PR c++/24580
......
...@@ -420,7 +420,10 @@ cp_lexer_get_preprocessor_token (cp_lexer *lexer ATTRIBUTE_UNUSED , ...@@ -420,7 +420,10 @@ cp_lexer_get_preprocessor_token (cp_lexer *lexer ATTRIBUTE_UNUSED ,
token->value = ridpointers[token->keyword]; token->value = ridpointers[token->keyword];
} }
else else
token->ambiguous_p = false; {
token->ambiguous_p = false;
token->keyword = RID_MAX;
}
} }
/* Handle Objective-C++ keywords. */ /* Handle Objective-C++ keywords. */
else if (token->type == CPP_AT_NAME) else if (token->type == CPP_AT_NAME)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment