aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodney Brown <RodneyBrown@pmsc.com>2000-07-26 23:18:47 +0000
committerJeff Law <law@gcc.gnu.org>2000-07-26 17:18:47 -0600
commitc6a8e61614d29a41eab8b5d6e407c31930408985 (patch)
tree01aea60763a7f2c9b0cdd045c81bbebc0831116b
parent5d7a9c0a28b74d055c5177f533ff5cd1595cb5ba (diff)
downloadgcc-c6a8e61614d29a41eab8b5d6e407c31930408985.zip
gcc-c6a8e61614d29a41eab8b5d6e407c31930408985.tar.gz
gcc-c6a8e61614d29a41eab8b5d6e407c31930408985.tar.bz2
* real.c (asctoeg): Rename `error' label to unexpected_char_error
From-SVN: r35271
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/real.c10
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6e49eaa..f4348c6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+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>
* config/arm/vxarm.h (CPP_PREDEFINES): Remove definition of
diff --git a/gcc/real.c b/gcc/real.c
index 2022aac..fa39ebd 100644
--- a/gcc/real.c
+++ b/gcc/real.c
@@ -5173,7 +5173,7 @@ asctoeg (ss, y, oprec)
&& (c != '\0')
&& (c != '\n') && (c != '\r') && (c != ' ')
&& (c != ','))
- goto error;
+ goto unexpected_char_error;
--sp;
while (*sp == '0')
*sp-- = 'z';
@@ -5243,18 +5243,18 @@ asctoeg (ss, y, oprec)
goto expnt;
case '.': /* decimal point */
if (decflg)
- goto error;
+ goto unexpected_char_error;
++decflg;
break;
case '-':
nsign = 0xffff;
if (sgnflg)
- goto error;
+ goto unexpected_char_error;
++sgnflg;
break;
case '+':
if (sgnflg)
- goto error;
+ goto unexpected_char_error;
++sgnflg;
break;
case ',':
@@ -5267,7 +5267,7 @@ asctoeg (ss, y, oprec)
case 'I':
goto infinite;
default:
- error:
+ unexpected_char_error:
#ifdef NANS
einan (yy);
#else