diff options
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r-- | gcc/cp/lex.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index 5afda55..e423652 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -3973,8 +3973,9 @@ real_yylex () } } + /* This can happen on input like `int i = 0x;' */ if (numdigits == 0) - my_friendly_abort (990710); + error ("numeric constant with no digits"); if (largest_digit >= base) error ("numeric constant contains digits beyond the radix"); |