Bug 6292 – HTOD hides constants behind a comment

Status
RESOLVED
Resolution
WONTFIX
Severity
major
Priority
P2
Component
tools
Product
D
Version
D2
Platform
Other
OS
All
Creation time
2011-07-11T21:56:00Z
Last change time
2015-06-09T04:36:05Z
Assigned to
nobody
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2011-07-11T21:56:47Z
#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...
Comment #1 by andrej.mitrovich — 2012-11-02T06:04:09Z
We have better (cross-platform) tools for .h conversion, not gonna wait for Walter.