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: nob...@puremagic.com
        ReportedBy: andrej.mitrov...@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2011-07-11 
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: -------

Reply via email to