diff options
author | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-12 10:40:39 +0000 |
---|---|---|
committer | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-12 10:40:39 +0000 |
commit | 979d6801d2420d005e0323377a50f9ac83fe08f7 (patch) | |
tree | f2e4cc000f83f1dc335bd3ff7ed0386e215ead73 /gcc/cp/decl.c | |
parent | d182b301f8d1e03b180612ea8bde36416e30cf45 (diff) | |
download | gcc-979d6801d2420d005e0323377a50f9ac83fe08f7.tar.gz |
2006-12-12 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* decl.c (build_enumerator): Update error message to match C
front-end.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119770 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 2 |
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; } } |