D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2554 - spec for pragma(lib, ...) doesn't say it's only legal as declaration
Summary: spec for pragma(lib, ...) doesn't say it's only legal as declaration
Status: RESOLVED INVALID
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Linux
: P2 minor
Assignee: No Owner
URL:
Keywords: spec
Depends on:
Blocks:
 
Reported: 2009-01-04 15:41 UTC by Christian Kamm
Modified: 2014-03-01 00:35 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Christian Kamm 2009-01-04 15:41:21 UTC
When http://d.puremagic.com/issues/show_bug.cgi?id=1663 was fixed, pragma(lib, ...) was forbidden as a statement. That should be in the spec.
Comment 1 Stewart Gordon 2009-01-04 18:40:23 UTC
Welcome to Bugzilla.  The way to link to other issues is to write simply
bug 1663
or
issue 1663

Looks better, and Bugzilla puts in a title attribute and formatting to show the status.
Comment 2 Walter Bright 2012-01-22 22:01:58 UTC
Pragma's are allowed as statements in both D1 and D2, and they are in the spec.