aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorAndrew Pinski <andrew_pinski@playstation.sony.com>2009-05-11 19:14:08 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2009-05-11 12:14:08 -0700
commita7d39bd39c8f3ad07e6688afe4b55d7d75ea5080 (patch)
treee6a7a4b9da997335dc64314372f955939f9b0c94 /gcc/config
parent26ab6a9370d93b084d42667d644c36ed06cc4408 (diff)
downloadgcc-a7d39bd39c8f3ad07e6688afe4b55d7d75ea5080.zip
gcc-a7d39bd39c8f3ad07e6688afe4b55d7d75ea5080.tar.gz
gcc-a7d39bd39c8f3ad07e6688afe4b55d7d75ea5080.tar.bz2
spu-c.c (spu_categorize_keyword): Update for recent libcpp interface change.
2009-05-11 Andrew Pinski <andrew_pinski@playstation.sony.com> * config/spu/spu-c.c (spu_categorize_keyword): Update for recent libcpp interface change. (spu_macro_to_expand): Likewise. From-SVN: r147393
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/spu/spu-c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/spu/spu-c.c b/gcc/config/spu/spu-c.c
index e1352b1..a946b03 100644
--- a/gcc/config/spu/spu-c.c
+++ b/gcc/config/spu/spu-c.c
@@ -42,7 +42,7 @@ spu_categorize_keyword (const cpp_token *tok)
{
if (tok->type == CPP_NAME)
{
- cpp_hashnode *ident = tok->val.node;
+ cpp_hashnode *ident = tok->val.node.node;
if (ident == C_CPP_HASHNODE (vector_keyword)
|| ident == C_CPP_HASHNODE (__vector_keyword))
@@ -60,7 +60,7 @@ spu_categorize_keyword (const cpp_token *tok)
static cpp_hashnode *
spu_macro_to_expand (cpp_reader *pfile, const cpp_token *tok)
{
- cpp_hashnode *expand_this = tok->val.node;
+ cpp_hashnode *expand_this = tok->val.node.node;
cpp_hashnode *ident;
ident = spu_categorize_keyword (tok);