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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 24 00:32:22 PST 2009


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





------- Comment #13 from maxmo at pochta.ru  2009-02-24 02:32 -------
D has entire namespace of tokens __*__ reserved for internal use. How about
using it? I don't know at which stage they are processed. They are documented
in lexical part of specs. How about this declaration:

SpecialTokenSequence:
        __assume_line__ Integer EndOfLine
        __assume_line__ Integer Filespec EndOfLine

Filespec:
        " Characters "

Any objections? I think, it's a trivial substitution.


-- 



More information about the Digitalmars-d-bugs mailing list