Commit ba99333a by Richard Stallman

(yylex): Change warning msg when decimal const is unsigned.

From-SVN: r3172
parent a2ecc7b9
...@@ -1584,7 +1584,7 @@ yylex () ...@@ -1584,7 +1584,7 @@ yylex ()
pedwarn ("integer constant out of range"); pedwarn ("integer constant out of range");
if (base == 10 && ! spec_unsigned && TREE_UNSIGNED (type)) if (base == 10 && ! spec_unsigned && TREE_UNSIGNED (type))
warning ("integer constant is so large that it is unsigned"); warning ("decimal constant is so large that it is unsigned");
if (flag_traditional && !int_fits_type_p (yylval.ttype, type)) if (flag_traditional && !int_fits_type_p (yylval.ttype, type))
/* The traditional constant 0x80000000 is signed /* The traditional constant 0x80000000 is signed
......
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