digitalmars.D.bugs - [Issue 1331] New: header file genaration generates a ":" instead of ";" at pragma
- d-bugmail puremagic.com (27/27) Jul 11 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1331
- d-bugmail puremagic.com (11/11) Jul 11 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1331
- d-bugmail puremagic.com (6/6) Jul 11 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1331
- d-bugmail puremagic.com (9/9) Jul 30 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1331
http://d.puremagic.com/issues/show_bug.cgi?id=1331 Summary: header file genaration generates a ":" instead of ";" at pragma Product: D Version: 1.018 Platform: PC OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: dbiehl gmx.net Hello, some code: module test; pragma(lib, "test"); pragma(msg, "Hello World"); dmd test.d -H -c generates: // D import file generated from 'test.d' module test; pragma(lib, "test"): pragma(msg, "Hello World"): this happens in several version of dmd and gdc, don't know a version if it works correct. Greets Daniel --
Jul 11 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1331 ------- Comment #1 from dbiehl gmx.net 2007-07-11 07:00 ------- Hello, i take a look at the gdc sources of dmd. In file attrib.c at method void AttribDeclaration::toCBuffer(OutBuffer *buf, HdrGenState *hgs) there is a line: buf->writeByte(':'); maybe this is the error. Greets Daniel --
Jul 11 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1331 ------- Comment #2 from dbiehl gmx.net 2007-07-11 16:44 ------- there is the same line in void ConditionalDeclaration::toCBuffer Daniel --
Jul 11 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1331 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from bugzilla digitalmars.com 2007-07-30 15:50 ------- Fixed DMD 1.019 and 2.003 --
Jul 30 2007