Thread overview
[Issue 4263] New: Header generation omits '@system' attribute
Jun 02, 2010
Sean Kelly
Jun 05, 2010
Brad Roberts
Jun 05, 2010
Sean Kelly
Jun 05, 2010
Brad Roberts
Jun 08, 2010
Walter Bright
June 02, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4263

           Summary: Header generation omits '@system' attribute
           Product: D
           Version: 2.040
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: sean@invisibleduck.org


--- Comment #0 from Sean Kelly <sean@invisibleduck.org> 2010-06-02 15:55:33 PDT ---
Given the module:

@system:
int x = 1;

The generated header is:

{
int x = 1;
}

Patch included.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 05, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4263



--- Comment #1 from Brad Roberts <braddr@puremagic.com> 2010-06-05 13:00:25 PDT ---
Created an attachment (id=653)
Update the header generation to include missing @system and enum attributes

There's likely other attributes that are missing.  I was focused on fixing the two cases that Sean found.

Also fixes issue 4262.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 05, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4263



--- Comment #2 from Sean Kelly <sean@invisibleduck.org> 2010-06-05 14:25:31 PDT ---
Created an attachment (id=654)
patch

This is a patch that should fix both 4262 and 4263.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 05, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4263


Brad Roberts <braddr@puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
    Attachment #654|application/octet-stream    |text/plain
          mime type|                            |
 Attachment #654 is|0                           |1
              patch|                            |


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 08, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4263


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


--- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2010-06-07 22:23:53 PDT ---
http://www.dsource.org/projects/dmd/changeset/525

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