public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/56436] New: Documentation states restriction that's not enforced
@ 2013-02-24 16:27 simon at pushface dot org
0 siblings, 0 replies; only message in thread
From: simon at pushface dot org @ 2013-02-24 16:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56436
Bug #: 56436
Summary: Documentation states restriction that's not enforced
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: simon@pushface.org
Created attachment 29530
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29530
Patch to remove documentation inconsistency
gcc/ada/projects.texi states, for Spec_Suffix, that (amongst other rules)
It cannot start with an alphanumeric character
It cannot start with an underscore followed by an alphanumeric character
Neither of these rules is enforced, in other words this is legal:
project Prj is
package Naming is
for Spec_Suffix ("Ada") use "_s.ada";
for Body_Suffix ("Ada") use "_2.ada";
end Naming;
end Prj;
There is at least one user who uses _s.ada, _b.ada, so it should be appropriate
to remove the stated restriction as in the attached patch.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-02-24 16:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-24 16:27 [Bug ada/56436] New: Documentation states restriction that's not enforced simon at pushface dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).