decl.c (build_enumerator): Update error message to match C front-end.

2006-12-12  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	* decl.c (build_enumerator): Update error message to match C
	front-end.

From-SVN: r119770
This commit is contained in:
Manuel López-Ibáñez 2006-12-12 10:40:39 +00:00
parent da32da74c7
commit 253e0d15a5
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-12-12 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* decl.c (build_enumerator): Update error message to match C
front-end.
2006-12-11 Jan Hubicka <jh@suse.cz>
* decl2.c (var_finalized_p): Update for renamed varpool functions.

View File

@ -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;
}
}