[Issue 5051] dmd flag for partial compilation (similar to just running preprocessor in C/C++)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 19 11:41:35 PDT 2010


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


Rainer Schuetze <r.sagitario at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario at gmx.de


--- Comment #2 from Rainer Schuetze <r.sagitario at gmx.de> 2010-10-19 11:40:55 PDT ---
Some time ago, I have been playing around with a patch to dmd that would dunp
any mixin expansion into a file passed on the command line. After compilation,
you could look them up, but even better, you can single step through the code
with a debugger (at least, if there are line feeds in the mixin). 

Another benefit: source line numbers in mixins do not overlap with the source
code after the mixin anymore, but the patch was not good enough to show the
place of instantiation in an error message.

If there is interest, I can dig it up and create a diff to current svn.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list