Commit c6a8e616 by Rodney Brown Committed by Jeff Law

* real.c (asctoeg): Rename `error' label to unexpected_char_error

From-SVN: r35271
parent 5d7a9c0a
2000-07-27 Rodney Brown <RodneyBrown@pmsc.com>
* real.c (asctoeg): Rename `error' label to unexpected_char_error
2000-07-26 Nick Clifton <nickc@cygnus.com> 2000-07-26 Nick Clifton <nickc@cygnus.com>
* config/arm/vxarm.h (CPP_PREDEFINES): Remove definition of * config/arm/vxarm.h (CPP_PREDEFINES): Remove definition of
......
...@@ -5173,7 +5173,7 @@ asctoeg (ss, y, oprec) ...@@ -5173,7 +5173,7 @@ asctoeg (ss, y, oprec)
&& (c != '\0') && (c != '\0')
&& (c != '\n') && (c != '\r') && (c != ' ') && (c != '\n') && (c != '\r') && (c != ' ')
&& (c != ',')) && (c != ','))
goto error; goto unexpected_char_error;
--sp; --sp;
while (*sp == '0') while (*sp == '0')
*sp-- = 'z'; *sp-- = 'z';
...@@ -5243,18 +5243,18 @@ asctoeg (ss, y, oprec) ...@@ -5243,18 +5243,18 @@ asctoeg (ss, y, oprec)
goto expnt; goto expnt;
case '.': /* decimal point */ case '.': /* decimal point */
if (decflg) if (decflg)
goto error; goto unexpected_char_error;
++decflg; ++decflg;
break; break;
case '-': case '-':
nsign = 0xffff; nsign = 0xffff;
if (sgnflg) if (sgnflg)
goto error; goto unexpected_char_error;
++sgnflg; ++sgnflg;
break; break;
case '+': case '+':
if (sgnflg) if (sgnflg)
goto error; goto unexpected_char_error;
++sgnflg; ++sgnflg;
break; break;
case ',': case ',':
...@@ -5267,7 +5267,7 @@ asctoeg (ss, y, oprec) ...@@ -5267,7 +5267,7 @@ asctoeg (ss, y, oprec)
case 'I': case 'I':
goto infinite; goto infinite;
default: default:
error: unexpected_char_error:
#ifdef NANS #ifdef NANS
einan (yy); einan (yy);
#else #else
......
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