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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 13 11:30:50 PST 2009


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





------- Comment #3 from shro8822 at vandals.uidaho.edu  2009-02-13 13:30 -------
Take a look at what Lex/Yacc/Flex/Bison and a pile of other tools generate.
Anything that is copied from the input file into the output is prefaced with
#line so that errors point to the right place. I see no reason to break with
this convention as I rather suspect that there are other tools out there that
also leverage it.


-- 



More information about the Digitalmars-d-bugs mailing list