www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6237] New: htod generates invalid module name and declaration

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

           Summary: htod generates invalid module name and declaration
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: htod
        AssignedTo: nobody puremagic.com
        ReportedBy: andrej.mitrovich gmail.com



21:42:22 PDT ---
E.g.:

htod cairo-win32.h
generates cairo-win32.d

This won't compile.

I think a safe option would be to convert to underscores:
cairo_win32.d 

and also do the same for the module declaration in the file.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 01 2011
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6237


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



21:43:48 PDT ---
Ah but I can already do this:

htod cairo-win32.h cairo_win32.d

I guess I should close it then.

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