I was speaking from the perspective of whoever maintains/wrote the tokenizer.On 09/04/2015 12:39 PM, skoppe wrote:On Thursday, 3 September 2015 at 16:46:30 UTC, Andrei Alexandrescu wrote:http://stackoverflow.com/questions/32369114/leap-years-not-working-in-date-and-time-program-in-dlangThe gist of it is the user wrote =+ instead of +=. I wonder if we should disallow during tokenization the sequence "=", "+", whitespace. Surely it's not a formatting anyone would aim for, but instead amisspelling of +=. AndreiSeems like a really, really small fish to catch. I wouldn't want tolitter my codebase with those kind of rules.I don't see what litter one would need you add to one's codebase?
On Friday, 4 September 2015 at 23:08:21 UTC, Andrei Alexandrescu
wrote:
- Re: Interesting user mistake immu via Digitalmars-d
- Re: Interesting user mistake Andrei Alexandrescu via Digitalmars-d
- Re: Interesting user mistake Jonathan M Davis via Digitalmars-d
- Re: Interesting user mistake Jonathan M Davis via Digitalmars-d
- Re: Interesting user mista... Mike James via Digitalmars-d
- Re: Interesting user m... Jonathan M Davis via Digitalmars-d
- Re: Interesting user mista... Steven Schveighoffer via Digitalmars-d
- Re: Interesting user m... via Digitalmars-d
- Re: Interesting user mistake skoppe via Digitalmars-d
- Re: Interesting user mistake Andrei Alexandrescu via Digitalmars-d
- Re: Interesting user mista... Sebastiaan Koppe via Digitalmars-d
- Re: Interesting user mistake Andrei Alexandrescu via Digitalmars-d
- Re: Interesting user mistake Mint via Digitalmars-d
- Re: Interesting user mista... Andrei Alexandrescu via Digitalmars-d
- Re: Interesting user mista... ponce via Digitalmars-d
- Re: Interesting user m... Mint via Digitalmars-d
- Re: Interesting user mistake Andrej Mitrovic via Digitalmars-d
- Re: Interesting user mistake H. S. Teoh via Digitalmars-d
- Re: Interesting user mista... Andrej Mitrovic via Digitalmars-d
- Re: Interesting user mistake Andrei Alexandrescu via Digitalmars-d
- Re: Interesting user mistake Marco Leise via Digitalmars-d