tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD GSoC wcc(1)
On Fri, Mar 28, 2008 at 01:01:19PM +0100, Martin Husemann wrote:
> On Fri, Mar 28, 2008 at 03:52:04AM +0000, David Holland wrote:
> > You would need at least part of a cpp(1) implementation in order to
> > process #include files and remove comments while still counting lines
> > accurately. This is more than a tiny parser, although it is not all
> > that hard.
>
> I would just run cpp(1) and do all further work on it's output.
Seconded. parsing #line should be enough for the purpose.
Joerg
Home |
Main Index |
Thread Index |
Old Index