aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r--gcc/cp/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 6d56f97..0f6821e 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -4226,7 +4226,7 @@ cp_parser_postfix_open_square_expression (cp_parser *parser,
If we are in an integral constant expression context, then we might
could accept any constant expression; hard to say without analysis.
Rather than open the barn door too wide right away, allow only integer
- constant expresions here. */
+ constant expressions here. */
if (for_offsetof)
index = cp_parser_constant_expression (parser, false, NULL);
else