Commit 24e511ca by Craig Rodrigues

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
parent 5a4dadda
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> 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
* config-lang.in (diff_excludes): Remove. * config-lang.in (diff_excludes): Remove.
......
...@@ -4427,7 +4427,7 @@ layout_enum (enumtype) ...@@ -4427,7 +4427,7 @@ layout_enum (enumtype)
constant_expression_warning (value); constant_expression_warning (value);
if (tree_int_cst_lt (value, integer_zero_node)) 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))); IDENTIFIER_POINTER (DECL_NAME (decl)));
value = error_mark_node; value = error_mark_node;
} }
......
...@@ -1652,7 +1652,7 @@ check_text_length (length) ...@@ -1652,7 +1652,7 @@ check_text_length (length)
} }
if (compare_int_csts (LE_EXPR, length, integer_zero_node)) 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 integer_one_node;
} }
return length; return length;
......
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