summaryrefslogtreecommitdiff
path: root/gcc/real.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-26 23:18:47 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-26 23:18:47 +0000
commit8e1b28268cedb4d354e4b7ad24bfd513cdf9e6d1 (patch)
tree01aea60763a7f2c9b0cdd045c81bbebc0831116b /gcc/real.c
parent3828da842fac5c000ed715f75c2f68624308226d (diff)
downloadgcc-8e1b28268cedb4d354e4b7ad24bfd513cdf9e6d1.tar.gz
* real.c (asctoeg): Rename `error' label to unexpected_char_error
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35271 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.c')
-rw-r--r--gcc/real.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/real.c b/gcc/real.c
index 2022aacbeb9..fa39ebd7253 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