diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2008-08-14 13:01:58 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2008-08-14 13:01:58 +0000 |
commit | 4265559a69290dee56a0df1e7d83610a869b02fc (patch) | |
tree | cfc90d2ea2218ab2d5b667698a0e1fd6a3647de9 /gcc/c-parser.c | |
parent | 32ff12435e068632cc28b1521b087e019ecf6717 (diff) | |
download | gcc-4265559a69290dee56a0df1e7d83610a869b02fc.zip gcc-4265559a69290dee56a0df1e7d83610a869b02fc.tar.gz gcc-4265559a69290dee56a0df1e7d83610a869b02fc.tar.bz2 |
re PR c++/28152 (Diagnostic about wrong use _Complex prints __complex__)
2008-08-08 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR c/28152
* c-parser.c (c_lex_one_token): Do not store the canonical spelling
for keywords.
testsuite/
* gcc.dg/parser-pr28152.c: New.
* gcc.dg/parser-pr28152-2.c: New.
From-SVN: r139097
Diffstat (limited to 'gcc/c-parser.c')
-rw-r--r-- | gcc/c-parser.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/c-parser.c b/gcc/c-parser.c index 6617145..1ea9d07 100644 --- a/gcc/c-parser.c +++ b/gcc/c-parser.c @@ -241,8 +241,6 @@ c_lex_one_token (c_parser *parser, c_token *token) } else { - /* Return the canonical spelling for this keyword. */ - token->value = ridpointers[(int) rid_code]; token->type = CPP_KEYWORD; token->keyword = rid_code; break; |