diff options
author | Robert de Bath <rdebath@poboxes.com> | 2002-08-02 21:34:40 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:48:47 +0200 |
commit | 660429af0232d4afcb3e03fb0437053dd6e16286 (patch) | |
tree | ab173f1b824dda797d7633c4c57cde91941c908c /bcc/declare.c | |
parent | e6248da18100235ae33468d058e5b71fcefeff3b (diff) | |
download | dev86-660429af0232d4afcb3e03fb0437053dd6e16286.tar.gz |
Import Dev86src-0.16.7.tar.gzv0.16.7
Diffstat (limited to 'bcc/declare.c')
-rw-r--r-- | bcc/declare.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bcc/declare.c b/bcc/declare.c index f61887f..3dfb26b 100644 --- a/bcc/declare.c +++ b/bcc/declare.c @@ -461,6 +461,15 @@ PRIVATE bool_pt declspec() && (gsymptr->type == stype || gsymptr->type == ltype)) ntype = 0; + /* Allow long double and long float */ + if (gvartype == ltype + && (gsymptr->type == fltype || gsymptr->type == dtype)) + { + gvartype = dtype; + nextsym(); + break; + } + /* allow int short and int long, blech */ if (gsymptr->type == itype && (gvartype == stype || gvartype == ltype)) |