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

2019-10-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2660 Richard Cattermole changed: What|Removed |Added Status|NEW |RESOLVED CC|

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

2019-10-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2660 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #15 from

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

2014-02-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=2660 --- Comment #14 from Sobirari Muhomori dfj1es...@sneakemail.com 2014-02-20 11:29:31 PST --- It's probably as simple as --- else if (id == Id::assume_line) { poundLine(); continue; // processed, overwrite the token with whatever

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

2009-02-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2660 --- Comment #13 from ma...@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

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

2009-02-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2660 --- Comment #12 from clugd...@yahoo.com.au 2009-02-21 04:41 --- Like Thomas, I think the existing #line is already a hack. The whole concept of #line is not pretty. The fact that the # character used only in this one place in the

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

2009-02-20 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2660 --- Comment #11 from to...@famolsen.dk 2009-02-21 00:05 --- clobbing up the # character like that is pretty aweful as well! --

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

2009-02-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2660 --- Comment #8 from ma...@pochta.ru 2009-02-18 05:00 --- AFAIK # is used as a prefix operator in miniD --

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

2009-02-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2660 --- Comment #5 from shro8...@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

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

2009-02-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2660 --- Comment #6 from wbax...@gmail.com 2009-02-16 19:27 --- (In reply to comment #5) 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

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

2009-02-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2660 --- Comment #7 from shro8...@vandals.uidaho.edu 2009-02-16 20:09 --- (In reply to comment #6) Can't you just spend like 2 seconds changing that to look for pragma(line..) instead of #line? That's not my point, my point is that

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

2009-02-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2660 --- Comment #1 from shro8...@vandals.uidaho.edu 2009-02-13 11:47 --- 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

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

2009-02-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2660 --- Comment #3 from shro8...@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