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:
Craig Rodrigues 2002-01-11 22:38:55 +00:00
parent 5a4dadda51
commit 24e511ca8e
3 changed files with 8 additions and 2 deletions

View File

@ -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.

View File

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

View File

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