www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12326] New: [IMPLEMENTATION] Move hidden debug switches into a backend-specific struct.

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12326

           Summary: [IMPLEMENTATION] Move hidden debug switches into a
                    backend-specific struct.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: ibuclaw ubuntu.com



There are a number of unknown fields in the mars.h (struct Params) that are
only commented with:

// hidden debug switches

Likewise in GDC, we have some of our own additions to this struct that are not
in use by DMD or LDC, so I suggest that a new backend specific structure (eg:
struct Compiler) that is both unused and transparent to the frontend should
replace this.

This would contribute to making the frontend code shared among DMD, GDC, and
LDC.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 09 2014
parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12326


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies gmail.com



Seems like a good idea.

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