D-Programming-Language/dmd — pull request #1061 by jmdavis (2012-07-21 09:20:23+00:00)
Title: Implemented issue# 6277

6277 calls for making .1 and 1. illegal. .1 is very common when writing
floating point values by hand, and it seems to be used quite heavily in
dmd's tests, so I left it in. 1. on the other hand is downright bizarre
and makes even less sense now that 1.f is not a legal floating point
literal. I was very surprised to find out that 1. was still legal after
1.f was made illegal. I thought that it _wasn't_ legal anymore. So, this
makes it so that 1. isn't, but it leaves .1 legal.

The last commit contains whitespace changes only (the tests that I had to tweak had a bunch of tabs and trailing whitespace, and I cleaned that up), so you probably don't want to look at the full diff at once. The two commits with the actual functionality changes are quite small.