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
parent da32da74
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> 2006-12-11 Jan Hubicka <jh@suse.cz>
* decl2.c (var_finalized_p): Update for renamed varpool functions. * decl2.c (var_finalized_p): Update for renamed varpool functions.
......
...@@ -10278,7 +10278,7 @@ build_enumerator (tree name, tree value, tree enumtype) ...@@ -10278,7 +10278,7 @@ build_enumerator (tree name, tree value, tree enumtype)
} }
else else
{ {
error ("enumerator value for %qD not integer constant", name); error ("enumerator value for %qD is not an integer constant", name);
value = NULL_TREE; value = NULL_TREE;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment