Is anyone working on a D source code formatting tool?
weaselcat via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jan 11 13:38:13 PST 2015
On Sunday, 11 January 2015 at 21:16:41 UTC, Walter Bright wrote:
> On 1/11/2015 11:50 AM, Andrei Alexandrescu wrote:
>> On 1/11/15 10:48 AM, Walter Bright wrote:
>>> The main problem is what to do about comments, which don't
>>> fit into the
>>> grammar.
>> In the first version comments might go through unchanged.
>
> Consider:
>
> for /*comment*/ (a;
> b;
> c)
>
> Do what with that?
Why not just move the comment to the end of the expression?
More information about the Digitalmars-d
mailing list