digitalmars.D.bugs - [Issue 9640] New: Add #line overload to restore natural line numbering / module name
- d-bugmail puremagic.com (34/34) Mar 03 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9640
- d-bugmail puremagic.com (11/11) Aug 29 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9640
- d-bugmail puremagic.com (9/9) Aug 29 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9640
http://d.puremagic.com/issues/show_bug.cgi?id=9640 Summary: Add #line overload to restore natural line numbering / module name Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: minor Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: m.strashun gmail.com #line is a pretty convenient tool to get better errors from string mixin's. Typical code that uses it looks like this: --- 100 #line 1 "mixin name" 101 mixin(generateSomeBigCode()); 102 #line 102 "module name" --- It works, but every time some new code is added above, line numbering will break again and there is no way to verify this from compiler. I suggest to add parameter-less #line that will restore natural line order and module name. Something like this: --- 100 #line 1 "mixin name" 101 mixin(generateSomeBigCode()); 102 #line --- That will help quite a lot in generic code maintenance. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 03 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9640 Henning Pohl <henning still-hidden.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull CC| |henning still-hidden.de PDT --- https://github.com/D-Programming-Language/dmd/pull/2506 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 29 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9640 yebblies <yebblies gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yebblies gmail.com Severity|minor |enhancement -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 29 2013