[Issue 2660] Change #line to pragma(line)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 16 05:08:16 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2660





------- Comment #4 from clugdbug at yahoo.com.au  2009-02-16 07:08 -------
>I rather expect that will never happen as the #line bit is there for
compatibility with the c preprocessed tool stack (lex, yacc, CPP and any other
pre existing tools/editors that need to remap line numbers) 

But those tools normally create or consume C code. D isn't C, so I don't see
how this is relevant. For example Java doesn't support #line as far as I know,
so it has the same limitation. (C# does support it, but it also supports #if,
#define, etc).

Are there any such tools where it is relevant?


-- 



More information about the Digitalmars-d-bugs mailing list