aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2006-12-10 05:09:29 +0000
committerZack Weinberg <zack@gcc.gnu.org>2006-12-10 05:09:29 +0000
commit566c6181e6dd7180ccc249e0b781da7a41340e50 (patch)
treec320daa7dba3673709646c3fbc979a9c5e08929b /gcc/cp/parser.c
parent17c2c7754500e156295352b07b13c21d82793d61 (diff)
downloadgcc-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/cp/parser.c')
-rw-r--r--gcc/cp/parser.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index d7611ed..98bc2e0 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -18073,25 +18073,6 @@ cp_parser_objc_statement (cp_parser * parser) {
/* OpenMP 2.5 parsing routines. */
-/* 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;
-
/* Returns name of the next clause.
If the clause is not recognized PRAGMA_OMP_CLAUSE_NONE is returned and
the token is not consumed. Otherwise appropriate pragma_omp_clause is
@@ -19441,8 +19422,4 @@ c_parse_file (void)
the_parser = NULL;
}
-/* This variable must be provided by every front end. */
-
-int yydebug;
-
#include "gt-cp-parser.h"