Thread overview |
---|
July 11, 2007 [Issue 1331] New: header file genaration generates a ":" instead of ";" at pragma | ||||
---|---|---|---|---|
| ||||
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 -- |
July 11, 2007 [Issue 1331] header file genaration generates a ":" instead of ";" at pragma | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | 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 -- |
July 11, 2007 [Issue 1331] header file genaration generates a ":" instead of ";" at pragma | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | 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 -- |
July 30, 2007 [Issue 1331] header file genaration generates a ":" instead of ";" at pragma | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | 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 -- |
Copyright © 1999-2021 by the D Language Foundation