Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/spu/spu-c.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* Copyright (C) 2006-2017 Free Software Foundation, Inc. | 1 /* Copyright (C) 2006-2018 Free Software Foundation, Inc. |
2 | 2 |
3 This file is free software; you can redistribute it and/or modify it under | 3 This file is free software; you can redistribute it and/or modify it under |
4 the terms of the GNU General Public License as published by the Free | 4 the terms of the GNU General Public License as published by the Free |
5 Software Foundation; either version 3 of the License, or (at your option) | 5 Software Foundation; either version 3 of the License, or (at your option) |
6 any later version. | 6 any later version. |
11 for more details. | 11 for more details. |
12 | 12 |
13 You should have received a copy of the GNU General Public License | 13 You should have received a copy of the GNU General Public License |
14 along with GCC; see the file COPYING3. If not see | 14 along with GCC; see the file COPYING3. If not see |
15 <http://www.gnu.org/licenses/>. */ | 15 <http://www.gnu.org/licenses/>. */ |
16 | |
17 #define IN_TARGET_CODE 1 | |
16 | 18 |
17 #include "config.h" | 19 #include "config.h" |
18 #include "system.h" | 20 #include "system.h" |
19 #include "coretypes.h" | 21 #include "coretypes.h" |
20 #include "target.h" | 22 #include "target.h" |
60 ident = spu_categorize_keyword (tok); | 62 ident = spu_categorize_keyword (tok); |
61 | 63 |
62 if (ident) | 64 if (ident) |
63 { | 65 { |
64 enum rid rid_code = (enum rid)(ident->rid_code); | 66 enum rid rid_code = (enum rid)(ident->rid_code); |
65 if (ident->type == NT_MACRO) | 67 if (cpp_macro_p (ident)) |
66 { | 68 { |
67 (void) cpp_get_token (pfile); | 69 (void) cpp_get_token (pfile); |
68 tok = cpp_peek_token (pfile, 0); | 70 tok = cpp_peek_token (pfile, 0); |
69 ident = spu_categorize_keyword (tok); | 71 ident = spu_categorize_keyword (tok); |
70 if (ident) | 72 if (ident) |