diff options
Diffstat (limited to 'gcc/c-pragma.h')
-rw-r--r-- | gcc/c-pragma.h | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/gcc/c-pragma.h b/gcc/c-pragma.h index a38d95aecec..9a3ff976b1c 100644 --- a/gcc/c-pragma.h +++ b/gcc/c-pragma.h @@ -49,9 +49,26 @@ typedef enum pragma_kind { PRAGMA_FIRST_EXTERNAL } pragma_kind; -/* Cause the `yydebug' variable to be defined. */ -#define YYDEBUG 1 -extern int yydebug; + +/* All clauses defined by OpenMP 2.5. + Used internally by both C and C++ parsers. */ +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; extern struct cpp_reader* parse_in; |