re PR other/5299 (then -> than fixes)
2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org> PR other/5299 * decl.c (layout_enum): Fix spelling mistake of "than". * inout.c (check_text_length): Same. From-SVN: r48779
This commit is contained in:
parent
5a4dadda51
commit
24e511ca8e
|
@ -1,3 +1,9 @@
|
|||
2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
|
||||
|
||||
PR other/5299
|
||||
* decl.c (layout_enum): Fix spelling mistake of "than".
|
||||
* inout.c (check_text_length): Same.
|
||||
|
||||
2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||
|
||||
* config-lang.in (diff_excludes): Remove.
|
||||
|
|
|
@ -4427,7 +4427,7 @@ layout_enum (enumtype)
|
|||
constant_expression_warning (value);
|
||||
if (tree_int_cst_lt (value, integer_zero_node))
|
||||
{
|
||||
error ("enumerator value for `%s' is less then 0",
|
||||
error ("enumerator value for `%s' is less than 0",
|
||||
IDENTIFIER_POINTER (DECL_NAME (decl)));
|
||||
value = error_mark_node;
|
||||
}
|
||||
|
|
|
@ -1652,7 +1652,7 @@ check_text_length (length)
|
|||
}
|
||||
if (compare_int_csts (LE_EXPR, length, integer_zero_node))
|
||||
{
|
||||
error ("text length must be greater then 0");
|
||||
error ("text length must be greater than 0");
|
||||
return integer_one_node;
|
||||
}
|
||||
return length;
|
||||
|
|
Loading…
Reference in New Issue