#line decoder
BCS
ao at pathlink.com
Wed Sep 24 17:34:39 PDT 2008
I’m doing a pile of code generation an got tired of manually translating
the effects of #line directives so I just wiped out a little tool to do it
for me.
You give it the input file, the “filename” and line number you are looking
for and it either spits out that line or the actual line number it’s on depending
on what you ask for.
source: http://www.dsource.org/projects/scrapple/browser/trunk/lines/lines.d
More information about the Digitalmars-d-announce
mailing list