DScanner is ready for use
bearophile via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Thu Apr 24 14:36:23 PDT 2014
Brian Schott:
> This is not valid. DMD and the grammar spec both do not allow
> this.
This was changed weeks ago. Now D accepts that code.
>> int items[5];
> I don't support C-style declarations. DMD doesn't really
> support them either.
> (https://issues.dlang.org/show_bug.cgi?id=953)
Then I suggest DScanner to support the half-C-declarations,
because D compilers digests them just fine and they are very
common in D code you will find in the wild. A code analyzer has
to accept the real world code people write, otherwise it's much
less useful :-)
Bye,
bearophile
More information about the Digitalmars-d-announce
mailing list