www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Bug in htod comment

htod puts the D translation inside a comment in some cases:


#define FOO 42
/* hello
world */

#define BAR 24


Turns into:


/* Converted to D from test.h by htod */
module test;
//C     #define FOO 42
/* hello
const FOO =3D 42;
world */

//C     #define BAR 24

const BAR =3D 24;


Notice the D FOO is inside the hello world comment.
Jul 13 2006