On Saturday, 13 September 2014 at 07:23:39 UTC, bearophile wrote:
Is it a good idea to accept code like this, to shorten some
constants?
void main() {
int x = 1e6;
}
Bye,
bearophile
Well, I guess it wouldn't help the lexer. To be consistent : int x = 1.73e2; should be allowed but not int y = 1.73e1; Not a good idea IMHO.
