dmdz
Ellery Newcomer
ellery-newcomer at utulsa.edu
Thu Mar 18 09:48:00 PDT 2010
On 03/18/2010 11:36 AM, Robert Clipsham wrote:
> On 18/03/10 16:28, Ellery Newcomer wrote:
>> I still don't see why (other than lexd.g adds ~ 10k loc just to get the
>> line 'module foo.bar;' out of a source file)
>
> That seems like a tad too much for it... Surely it would only take a few
> (here meaning far less than 10k) lines to parse away comments/whitespace
> at the start of the file then read the module declaration if there is one?
Sure. I could write it in 100 loc. My concern is they would be a buggy
100 loc that would take a good deal of effort to get right. lexd.g
already existed and has been pretty heavily tested.
More information about the Digitalmars-d
mailing list