Mercurial > projects > dstress
changeset 147:6300c81ad8c0
parsing floating literals with multiple dots
Ilya Zaitseff <sark7@mail333.com>
news:opshte92rnaaezs2@localhost
nntp://news.digitalmars.com/digitalmars.D.bugs/2316
author | thomask |
---|---|
date | Mon, 22 Nov 2004 11:11:03 +0000 |
parents | fba348bb0d5c |
children | a2f3b4e1bfe5 |
files | nocompile/float_litaeral_dec_12.d nocompile/float_litaeral_dec_13.d nocompile/float_litaeral_dec_14.d nocompile/float_litaeral_dec_15.d nocompile/float_litaeral_dec_16.d nocompile/float_litaeral_dec_17.d |
diffstat | 6 files changed, 72 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/float_litaeral_dec_12.d Mon Nov 22 11:11:03 2004 +0000 @@ -0,0 +1,12 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Ila Zaitseff <sark7@mail333.com> +// @date@ 2004-11-21 +// @uri@ news:opshte92rnaaezs2@localhost +// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2316 + +module dstress.nocompile.float_literal_dec_12; + +float a = .1.234;
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/float_litaeral_dec_13.d Mon Nov 22 11:11:03 2004 +0000 @@ -0,0 +1,12 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Ila Zaitseff <sark7@mail333.com> +// @date@ 2004-11-21 +// @uri@ news:opshte92rnaaezs2@localhost +// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2316 + +module dstress.nocompile.float_literal_dec_13; + +float a = ..234;
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/float_litaeral_dec_14.d Mon Nov 22 11:11:03 2004 +0000 @@ -0,0 +1,12 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Ila Zaitseff <sark7@mail333.com> +// @date@ 2004-11-21 +// @uri@ news:opshte92rnaaezs2@localhost +// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2316 + +module dstress.nocompile.float_literal_dec_14; + +float a = 0.234.0;
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/float_litaeral_dec_15.d Mon Nov 22 11:11:03 2004 +0000 @@ -0,0 +1,12 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Ila Zaitseff <sark7@mail333.com> +// @date@ 2004-11-21 +// @uri@ news:opshte92rnaaezs2@localhost +// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2316 + +module dstress.nocompile.float_literal_dec_15; + +float a = 0.234.;
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/float_litaeral_dec_16.d Mon Nov 22 11:11:03 2004 +0000 @@ -0,0 +1,12 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Ila Zaitseff <sark7@mail333.com> +// @date@ 2004-11-21 +// @uri@ news:opshte92rnaaezs2@localhost +// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2316 + +module dstress.nocompile.float_literal_dec_16; + +float a = .234.0;
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/float_litaeral_dec_17.d Mon Nov 22 11:11:03 2004 +0000 @@ -0,0 +1,12 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Ila Zaitseff <sark7@mail333.com> +// @date@ 2004-11-21 +// @uri@ news:opshte92rnaaezs2@localhost +// @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/2316 + +module dstress.nocompile.float_literal_dec_17; + +float a = 2..23;