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:
parent
da32da74c7
commit
253e0d15a5
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue