summaryrefslogtreecommitdiff
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r--gcc/cp/decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 1edd7ea9d70..2e6ace3f5b6 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -10278,7 +10278,7 @@ build_enumerator (tree name, tree value, tree enumtype)
}
else
{
- error ("enumerator value for %qD not integer constant", name);
+ error ("enumerator value for %qD is not an integer constant", name);
value = NULL_TREE;
}
}