www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6292] New: HTOD hides constants behind a comment

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

           Summary: HTOD hides constants behind a comment
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: htod
        AssignedTo: nobody puremagic.com
        ReportedBy: andrej.mitrovich gmail.com



21:56:47 PDT ---
#define FOO 128
#define BAR 256 /* blablabla 
blablabla */

 htod -hc test.h
/* Converted to D from test.h by htod */ module test; /* blablabla const FOO = 128; blablabla */ Woops. FOO is hidden behind a /* */ comment, and BAR is gone! Ha-ha... -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 11 2011
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6292


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

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



06:04:09 PDT ---
We have better (cross-platform) tools for .h conversion, not gonna wait for
Walter.

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