diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2006-12-10 05:09:29 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2006-12-10 05:09:29 +0000 |
commit | 566c6181e6dd7180ccc249e0b781da7a41340e50 (patch) | |
tree | c320daa7dba3673709646c3fbc979a9c5e08929b /gcc/c-parser.c | |
parent | 17c2c7754500e156295352b07b13c21d82793d61 (diff) | |
download | gcc-566c6181e6dd7180ccc249e0b781da7a41340e50.zip gcc-566c6181e6dd7180ccc249e0b781da7a41340e50.tar.gz gcc-566c6181e6dd7180ccc249e0b781da7a41340e50.tar.bz2 |
c-opts.c (c_common_parse_file): Unconditionally give a warning, suitable for the language, if set_yydebug is true.
* c-opts.c (c_common_parse_file): Unconditionally give a warning,
suitable for the language, if set_yydebug is true.
* c-pragma.h: Define enum pragma_omp_clause here. Don't define
YYDEBUG or declare yydebug.
* c-parser.c (yydebug, enum pragma_omp_clause): Delete.
* cp/parser.c: Likewise.
From-SVN: r119704
Diffstat (limited to 'gcc/c-parser.c')
-rw-r--r-- | gcc/c-parser.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/c-parser.c b/gcc/c-parser.c index a54674f..d53b155 100644 --- a/gcc/c-parser.c +++ b/gcc/c-parser.c @@ -59,10 +59,6 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA #include "cgraph.h" -/* Miscellaneous data and functions needed for the parser. */ - -int yydebug; - /* Objective-C specific parser/lexer information. */ static int objc_pq_context = 0; @@ -200,26 +196,6 @@ static const struct resword reswords[] = }; #define N_reswords (sizeof reswords / sizeof (struct resword)) -/* All OpenMP clauses. OpenMP 2.5. */ -typedef enum pragma_omp_clause { - PRAGMA_OMP_CLAUSE_NONE = 0, - - PRAGMA_OMP_CLAUSE_COPYIN, - PRAGMA_OMP_CLAUSE_COPYPRIVATE, - PRAGMA_OMP_CLAUSE_DEFAULT, - PRAGMA_OMP_CLAUSE_FIRSTPRIVATE, - PRAGMA_OMP_CLAUSE_IF, - PRAGMA_OMP_CLAUSE_LASTPRIVATE, - PRAGMA_OMP_CLAUSE_NOWAIT, - PRAGMA_OMP_CLAUSE_NUM_THREADS, - PRAGMA_OMP_CLAUSE_ORDERED, - PRAGMA_OMP_CLAUSE_PRIVATE, - PRAGMA_OMP_CLAUSE_REDUCTION, - PRAGMA_OMP_CLAUSE_SCHEDULE, - PRAGMA_OMP_CLAUSE_SHARED -} pragma_omp_clause; - - /* Initialization routine for this file. */ void |