[Issue 2660] Change #line to pragma(line)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 16 11:18:25 PST 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2660
------- Comment #5 from shro8822 at vandals.uidaho.edu 2009-02-16 13:18 -------
I'll admit it is not public domain, but I have a tool for translating c# into D
that uses #line all over the place and a tool that takes a file with #line
directives and finds lines that assume a given file name/line number
I guess my point is that #line is a bit of a standard and I see no point in
breaking from it. Even getting another operator is a bit of a hard sell as the
only uses for # I known of are out-of-band annotations (C's usage and bash like
comments) so I would be hesitant to give it any other use.
--
More information about the Digitalmars-d-bugs
mailing list