aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2019-12-04 14:52:12 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2019-12-04 14:52:12 +0000
commit09a214ac6bea2a7148e0694b6b1ab61e02485a53 (patch)
tree1690c8c5e7699ec3f0d8a27fa3dd96cd0ccf340a
parenta4f3fa716f9fc6fbab40b5d247db60385c69cd90 (diff)
downloadgcc-09a214ac6bea2a7148e0694b6b1ab61e02485a53.zip
gcc-09a214ac6bea2a7148e0694b6b1ab61e02485a53.tar.gz
gcc-09a214ac6bea2a7148e0694b6b1ab61e02485a53.tar.bz2
Remove stray comma in primary_constraint_error.
* parser.c (enum primary_constraint_error): Remove stray comma. From-SVN: r278967
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/parser.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index fbf2874..a9bcbb2 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2019-12-04 Marek Polacek <polacek@redhat.com>
+
+ * parser.c (enum primary_constraint_error): Remove stray comma.
+
2019-12-04 Richard Sandiford <richard.sandiford@arm.com>
* cp-tree.h (CP_AGGREGATE_TYPE_P): Check for gnu_vector_type_p
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index fb03002..10ff016 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -27131,7 +27131,7 @@ enum primary_constraint_error
{
pce_ok,
pce_maybe_operator,
- pce_maybe_postfix,
+ pce_maybe_postfix
};
/* Returns true if the token(s) following a primary-expression in a