aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/parser.h')
-rw-r--r--gcc/cp/parser.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cp/parser.h b/gcc/cp/parser.h
index f9ed801..3a17be9 100644
--- a/gcc/cp/parser.h
+++ b/gcc/cp/parser.h
@@ -328,14 +328,16 @@ struct GTY(()) cp_parser {
/* Set to IN_ITERATION_STMT if parsing an iteration-statement,
to IN_OMP_BLOCK if parsing OpenMP structured block and
- IN_OMP_FOR if parsing OpenMP loop. If parsing a switch statement,
+ IN_OMP_FOR if parsing OpenMP loop, IN_EXPANSION_STMT if parsing an
+ expansion-statement. If parsing a switch statement,
this is bitwise ORed with IN_SWITCH_STMT, unless parsing an
iteration-statement, OpenMP block or loop within that switch. */
#define IN_SWITCH_STMT 1
#define IN_ITERATION_STMT 2
#define IN_OMP_BLOCK 4
#define IN_OMP_FOR 8
-#define IN_IF_STMT 16
+#define IN_IF_STMT 16
+#define IN_EXPANSION_STMT 32
unsigned char in_statement;
/* TRUE if we are presently parsing the body of a switch statement.